#RandomModule06 #Jonny Binstead import random number = random.randint(0,10) correct = False while correct == False: guess = int(input("Guess the number between 1 and 10: ")) if guess == number: print("Congrats!") correct = True else: print("Unlucky, try again!")