Let's Make A Game!

From the IDLE menu, open a new window (File > New Window) and type these lines:

secret_number = 7

guess = input("What number am I thinking of? ")

if secret_number == guess:
    print("Yay! You got it!")
else:
    print("No, that's not it.")

From the IDLE menu, choose Run > Run Module.

You'll be prompted to save the file - give it the name 'guess.py' and save it in a location you'll remember, such as your desktop.

What do you see in the interpreter?