Jan-07-2018, 01:56 AM
you didn't indent correctly
This is how I did it but I had a bit of problems with it
This is how I did it but I had a bit of problems with it
guessnumber=0 import random Mystery = random.randint(0,9) while guessnumber==int(input("Guess a number between 0-9: ")): if guessnumber > Mystery: print('The number you input is not the mystery number, try again.') guessnumber = int(input("Enter a guess: ") if guessnumber == Mystery: