A community for students.

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

anonymous

  • one year ago

Is there any way to find the solutions for the first HW assignment problem set 0 ? Or can someone explain how to do it, please.

  • This Question is Open
  1. anonymous
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    print "Please insert your Date of Birth name = raw_input("**") Given this info, I think you can figure the rest out yourself.

  2. anonymous
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Python has a built in function that allows us to ask the user for values and give that value a name at the same time. It's done like this: >>> date_of_birth = raw_input("Enter your date of birth: ") Enter your date of birth: 01/01/2015 >>> print date_of_birth 01/01/2015 An example of printing multiple things is: >>> print 'a' + ' ' + 'c' 'a c' Note the space between 'a' and 'c' in the output Link to how to use raw_input : https://docs.python.org/2/library/functions.html#raw_input I have given you all that I think is necessary for you to figure out the rest. Good luck!

  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

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.