A brief Python App that stores a random integer between 0 and 100 in a variable, takes a number input from the user and responds with higher, lower and correct guess text as appropriate.
Code
import random
print('---------------------------------------------')
print(' GUESS THE NUMBER GAME')
print('---------------------------------------------')
print()
the_number = random.randint(0, 100)
guess = -1
name = input('Hello, what is your name? ')
while guess != the_number:
guess_text = input('Guess a number between 0 and 100: ')
guess = int(guess_text)
if guess < the_number:
print("{}, your guess of {} was wrong, try again, go higher!".format(name, guess))
elif guess > the_number:
print("{}, your guess of {} was wrong, try again, go lower!".format(name, guess))
else:
print("You win!!!!")
Screenshot

Join the conversation: