0
Help number guessing game
It is saying there is an error on line 15. Can someone explain why? #a random number game import random play = "Y" counter = 1 guess = 0 while play == "Y": number = random.randint(0,10000) guess == int(input("please guess a number between 0 and 10,000 ")) if guess < number: guess == int(input("your guess is too low, try again. ")) counter += 1 elif guess > number: guess == int(input("your guess is too high, try again. ")) counter +=1 else: "you guess the number correctly in",counter,"tries." play = input("Do you want to play again? press Y/N")
0 ответов