Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 18 Online
OpenStudy (anonymous):

In the first assignment, I cannot figure out how to get the birthdate stored. I can get first name and last name, but cannot figure out anything with the birthdate. Any help?

OpenStudy (anonymous):

Hi hcarter, You should be able to store and print birthdate exactly as you did name. Use raw_input for both and print statement to output the results. If you still have troubles, try posting your code here so we can comment more fully.

OpenStudy (anonymous):

Figured it out!! IF YOU DON"T WANT TO SEE A SOLUTION, STOP!! date = raw_input("Enter your date of birth:\n") name = raw_input("Enter your last name:\n") print name + ' ' + date

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!