import random
ran = random.randint(1,100)
num = None
c = 0
while(ran!=num):
num = int(input("Guess a Number: "))
c = c + 1
if num == ran:
print("Congrats, You Won!")
else:
if num > ran:
print("Too High!")
else:
print("Too Low!")
print(f"Took You {c} Tries.")