import random
gameOver = False
num = random.randint(1,101)
while gameOver== False:
inputNum = input(‘Guess and enter the integer from 1 to 100…’)
yourGuess= int(inputNum)
if yourGuess == num:
print(‘Congrats..you got it!’)
gameOver = True
elif yourGuess < num:
print(‘integer too small, try again.’)
else:
print(‘integer too big, try again.’)