I’m a beginner and I’m trying to create a program that allows users to pick a name for their rover. The program is supposed to work by asking the user what they want to name their rover, if they’re sure about it, and then finalize it. If not, then they keep redoing it until they decide on a name. The code is written in Python. Here’s what I have done so far:
nameofbot = input("What would you like to name your rover? ")
surity = input("Are you sure?")
surity = "Yes":
print(nameofbot)
else:
print("Let's try this again.")
def multiply(
print("It is...")
time.sleep(3)
print(nameofbot)
Note: I am trying to make it repeat all code from ‘nameofbot’ to the end of line two. Thanks for your help!