A community for students.

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

lucifer

  • 4 years ago

could someone tell me how to do pset0. This is my best attempt: print(raw_input('Enter your last name: ' ) , raw_input("Enter your first name: " ))

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

    Try this pseudo code: Ask the user for the first name - using print take in user input and assign it to a variable - firstname = raw_input() do the same thing but for the last name then print the first name and print the last name

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

    http://dpaste.com/hold/694125/

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

    Instead of asking the user to input their name using the print command let raw_input do it. eg lastName = raw_input('Enter your last name: ' )

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

    my code is as follows: n1 = raw_input('Enter Your Last Name') n2 = raw_input('Enter Your First Name') result = n2 + n1 print result

  5. lucifer
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    OK, thank you. I'm doing pset01 now.

  6. 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.