Hi everyone,
I am a very fresh learner and have a question regarding the guess number game below. Please help!
My question is the result still goes 'Let's try again' even when I try 9, which is the correct one.
The code I type:
I am a very fresh learner and have a question regarding the guess number game below. Please help!
My question is the result still goes 'Let's try again' even when I try 9, which is the correct one.
The code I type:
>>> while True: value=input("Please guess a number:") if value==int('9'): print("Good!") else: print("Let's try again!") continue break ....