import random number = random.randint(1, 10) guess = 0 guessnumb = 0 while number != guess : guessnumb = guessnumb + 1 guess = int(input("Guess a number ")) if number > guess : print ("Higher") elif number < guess : print ("lower") if guessnumb > 1 : print ( "you got it right!!!!!") message = f"you got it in {guessnumb} times" print(message) else: print ("https://vault.fbi.gov/jeffrey-lionel-dahmer")