Skip to content

Instantly share code, notes, and snippets.

@gdoteof
Created April 25, 2013 16:53
Show Gist options
  • Save gdoteof/5461276 to your computer and use it in GitHub Desktop.
Save gdoteof/5461276 to your computer and use it in GitHub Desktop.
for hm2
def get_name():
name = str(raw_input("Enter your name: "))
return name
def get_birthday():
birthday = str(raw_input("Enter your birthdate: "))
return birthday
def output_name_and_birthday(name,birthday):
print "Your name is: ", name, " and your birthday is:", birthday
n = get_name()
b = get_birthday()
output_name_and_birthday(n,b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment