I created a simple 15-line number guessing game in Python 2.7:# Guess the number gameusername = raw_input(What is your name? -> )guess = input(%s, I'm thinking of a number between 1 and 10. ->  % username)answer = 7 # sets the answeranswer = guessif guess < 7:    print That's too low.if guess > 7:    print That's too high.if guess == 7:    print Good. Thanks for playing.What is a proper way I could make it a little more efficient?
Very simple number guessing game
python;python 2.7;number guessing game