Skip to content

Instantly share code, notes, and snippets.

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!')
print(mycolor + ' is a great color. My favorite color is green!')
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.")
print("I surprise even myself sometimes.")
print("Have a great day! Goodbye!")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment