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?
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!
Do you have the Python environment installed and is it working?
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)
Not the answer you are looking for? Search for more explanations.
so after I wright the program do I run it on the cmd?
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