Python Day 3/4: 106-year-old Bob does not want email!

Coming right along. Have had to troubleshoot an issue where my input code was not rendering. I guess I could seek help within the course but instead I triple checked my code then restarted my notebook program. Worked every time. 

Just successfully created this output with minimal code: 

Name: Bob  Age: 106  Wants email?: No

Woop! Seems like a pretty low standard for success but it feels like I’m re-creating the entire world wide web all by myself ;)!

 

name = input(“enter name: “)
age = input(“enter age: “)
get_mail = input(“yes/no: “)
print(“Name: ” + name, “Age: ” + age, “Wants email?: ” + get_mail)

Tagged with:

Leave a Reply

Your email address will not be published. Required fields are marked *

*