Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 19 Online
OpenStudy (anonymous):

Hey I just got started on the first lecture and am trying to figure out how to run the program for gathering someone's last and first name. Can anyone help me with this?

OpenStudy (anonymous):

Do you have the Python environment installed and is it working?

OpenStudy (anonymous):

I do

OpenStudy (anonymous):

First, see if you can write a program that accepts as input the first name (or any name) and prints the result. The pseudo-code would be: 1. Ask user to provide a name 2. Bind the name to a variable 3. Print the name (i.e. the value of the variable)

OpenStudy (anonymous):

so after I wright the program do I run it on the cmd?

OpenStudy (anonymous):

running your program from cmd allow you to see the printed name. because if you just directly run your program (double click ur program) outside cmd, after you type the input it is automatically closed after show the result for a moment

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!