# GuessNumber.py
#
# Guess a number from 1 to 10
#
import random
my_number = random.randint(1,10)
guess = input("I'm thinking of a number from 1 to 10.\n"
"Guess what it is: ")
if str(my_number) == guess:
print("You got it!")
else:
print("Sorry, it was", my_number)