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)
Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
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.
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
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.