Created
April 25, 2013 16:53
-
-
Save gdoteof/5461276 to your computer and use it in GitHub Desktop.
for hm2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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