Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

hcarter004

  • 2 years ago

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?

  • This Question is Closed
  1. rmillard64
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    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.

  2. hcarter004
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    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

  3. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy