is the right answer to pset 0? i wish the solutions were posted somewhere... >>> x = raw_input('Enter your last name:') Enter your last name:Smith >>> y = raw_input('Enter your first name:') Enter your first name:John >>> print (x,y) ('Smith', 'John') Although it seems like they might be asking for all of the questions and user inputs to be done in the same program, not in separate pieces the way I did. I'm not sure how to do that?

At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Get our expert's

answer on brainly

SEE EXPERT ANSWER

Get your free account and access expert answers to this and thousands of other questions.

A community for students.

is the right answer to pset 0? i wish the solutions were posted somewhere... >>> x = raw_input('Enter your last name:') Enter your last name:Smith >>> y = raw_input('Enter your first name:') Enter your first name:John >>> print (x,y) ('Smith', 'John') Although it seems like they might be asking for all of the questions and user inputs to be done in the same program, not in separate pieces the way I did. I'm not sure how to do that?

MIT 6.00 Intro Computer Science (OCW)
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Get this expert

answer on brainly

SEE EXPERT ANSWER

Get your free account and access expert answers to this and thousands of other questions

Are you typing into the python shell? Like directly into the command line?
I'm using IDLE, but the window says Python Shell. So I'm not sure. Here's a screenshot of my screen: http://img143.imageshack.us/img143/6388/screenshot20110221at444.png
You're in the shell. In IDLE, Go to File - New Window. A new window will open, and you can type your program directly in there, with all the cool color codes, etc. Then save your program with the .py extension. After saving your work, you can run your program by pressing f5. From the Python Shell, you can also open recent docs, so if you save more than one program, you can always re-open another window via FILE - RECENT FILES.

Not the answer you are looking for?

Search for more explanations.

Ask your own question

Other answers:

Oh okay, thanks! What is the advantage of doing it that way? And, to my original question, is my answer correct?
A nice summary of IDLE: http://ai.uga.edu/mc/idle%5Cindex.html.
As for your code, the assignment indicates for you to print out the users first and last names in that order...so you will have to change your print statement to reflect that correctly.
To add to what Aslander said, read the first chapter of this. It's linked on the Readings section of the website. http://www.greenteapress.com/thinkpython/thinkCSpy/thinkCSpy.pdf

Not the answer you are looking for?

Search for more explanations.

Ask your own question