Quantcast

Got Homework?

Connect with other students for help. It's a free community.

  • across
    MIT Grad Student
    Online now
  • laura*
    Helped 1,000 students
    Online now
  • Hero
    College Math Guru
    Online now

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

ehilberg Group Title

Very first problem set. How do I get the program to print out the birthdate and last name together? Right now I have: print (raw_input('enter your date of birth')) print (raw_input('enter your last name'))

  • 10 months ago
  • 10 months ago

  • This Question is Closed
  1. bwCA Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    Have you read any of the readings?

    • 10 months ago
  2. ehilberg Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    the wikilinks? I read over those, but am brand new to any and all of this, so I've been struggling to get started.

    • 10 months ago
  3. bwCA Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    Which class are you doing? 2008?, 2011?

    • 10 months ago
  4. ehilberg Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    the 2011 course

    • 10 months ago
  5. bwCA Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    Have you read the Tutorial in the python docs? Tried all of the examples?

    • 10 months ago
  6. bwCA Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    here are a couple more but maybe start with the Tutorial in the documentation http://troll.cs.ua.edu/cs150/book/index.html http://www.greenteapress.com/thinkpython/html/index.html you are going to need to get used to the documentation and start finding answers. when you want to reuse the result of a statement, you 'store' it in a variable ``` >>> >>> a = 2 + 3 >>> b = 2 - 3 >>> print a, b 5 -1 >>> ``` a and b are variables

    • 10 months ago
  7. ehilberg Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    okay thank you. i'll keep working on it

    • 10 months ago
  8. ehilberg Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    I did not need to put the print command on the first two strings in order to get it to function

    • 10 months ago
  9. bwCA Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    nope ... it helps if your variable have descriptive names for short pieces of code or code examples, you can enclose it in 'bacticks' (left of 1 on a qwerty keyboard.) backticks code backticks ``` >>> dob = (raw_input('enter your date of birth')) enter your date of birth5/5/5555 >>> last = raw_input('enter your last name') enter your last namefinn >>> first = raw_input('enter your first name') enter your first namealva >>> print first, last, dob alva finn 5/5/5555 >>> ``` Otherwise please use a code pasting site: - http://dpaste.com - http://pastebin.com - https://gist.github.com/ - http://pastie.org - http://codepad.org - http://ideone.com - http://www.repl.it/ paste your code there and post the link here. select Python syntax highlighting when u paste. ... http://dpaste.com/1406703/

    • 10 months ago
    • Attachments:

See more questions >>>

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.