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

minirafa

i am working on python. I am trying to figure out how to input someone's name and birthdate, separately, and still get the two in the same inorder. can anyone read my code and tell me what is wrong with it? number = input("Enter your date of birth ") name = int(input("Enter your last name ") print('name' + 'number')

  • 3 years ago
  • 3 years ago

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

    you have to do it like this number = int(raw_input("Enter your date of birth ")) name = raw_input("Enter your last name ") print name, number the comma is to print in the same line and without the ('') because its a variable, if you do it that way you will get namenumber instead.

    • 3 years ago
  2. Rockyrocks
    Best Response
    You've already chosen the best response.
    Medals 0

    hey raw_input doesnt work na on python 3.2 ???

    • 3 years ago
  3. Ferizv20
    Best Response
    You've already chosen the best response.
    Medals 0

    i recommend you tu use python 2.7.1

    • 3 years ago
  4. Ferizv20
    Best Response
    You've already chosen the best response.
    Medals 0

    i recommend you tu use python 2.7.1

    • 3 years ago
  5. libro
    Best Response
    You've already chosen the best response.
    Medals 0

    if you're using python 3.2, simply replace raw_input with just input. It works the same.

    • 3 years ago
  6. asheybo
    Best Response
    You've already chosen the best response.
    Medals 0

    why do we use int(raw_input()) instead of input() (which gives runtime error) and raw_input doesnt...

    • 3 years ago
  7. silvlan
    Best Response
    You've already chosen the best response.
    Medals 0

    can anyone tell me how to get it downloaded? I am haveing issues! I am doing everything it says and I got it downloaded and then my computer error read not compatible. Why is this and what do I have to do to install after download?

    • 3 years 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.