import random lowerbound = 1 upperbound = 100 numberofguesses = 0 randoms = random.randint(lowerbound, upperbound) guess = int(input("Guess the number: ")) while guess != randoms: if guess