Hi
I'm learning python and exercising the loop function with while.
I would like to make a code that ask me to input the name again if it's wrong.. with no limit of tries.
I'm learning python and exercising the loop function with while.
I would like to make a code that ask me to input the name again if it's wrong.. with no limit of tries.
name = "Ed"
guess = input("what is the name")
while guess == name:
print(guess, 'is the right name')
break
if guess != name:
print(input(guess))
