from random import randint
secret = randint(1, 10)
guess = 0
print ("Welcome!")
while guess != secret:
g = input("Guess the number: ")
guess = int(g)
if guess > secret:
print ("Too high!")
else:
if guess < secret:
print ("Too low!")
print ("You win!")
print ("Game over!")











