import random lower_bound = 64 upperbound = 100 numberofguesses = 0 random_number = random_randint(lower_bound, upper_bound) guess = int(input("guess the number:")) whilee guess = random_number: if guess < random_number: print("the number is higher") else: print("the number is lower,") number_of_guesses +=1 guess = int(input("guess the number")) print("congratulations you guessed the number correctly in", number_of_guesses, "attempts.")