Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import time
print('Hello! What is your name?')
name = input()
print("It's nice to meet you, " + name + "! How old are you?")
age = input()
print("Wow! " + age + "? That's so great. Do you have a favorite color? What is it?")
color = input()
if color.lower() == "green":
print('Wow! My favorite color is green too!')
else:
print(mycolor + ' is a great color. My favorite color is green!')
time.sleep(2)
print("Can you believe I wrote this program by myself? (yes or no)")
choice = input()
if choice.lower() == "yes":
print("Why, thank you. I'm very proud.")
else:
print("I surprise even myself sometimes.")
time.sleep(2)
print("Have a great day! Goodbye!")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment