import random
play = input("Press enter to play: ")
num = random.randint(0, 20)
while True:
guess = int(input("Guess number from 0 to 20: "))
if guess > num:
print("Try a smaller number.")
elif guess < num:
print("Try a bigger number.")
if guess == num:
print("damn you lucky guy!")
break