Hello. I am taking a basic class and running their code. (This is my first time posting on this forum). My question is: Why do I need to use the first line "number_guess="0"" when running this code? The results are the same when I don't use it?
#number_guess="0" secret_number="5" while True: number_guess = input("guess the number 1 to 5: ") if number_guess == secret_number: print("Yes." , number_guess, " is correct!\n") break else: print(number_guess, " is incorrect")