Question: ALL IN PYTHON 1. Write a program that requests the user to enter two-part name and then displays the name in the form lastname, Firstname
ALL IN PYTHON
1. Write a program that requests the user to enter two-part name and then displays the name in the form "lastname, Firstname"
One outcome:
Enter a 2-part name: John Doe
Entered name is: Doe, John
2. Write a program that requests the user to enter a number, then displays the number comma separated.
One outcome: the user enters the number 4000000 The output of your code should be 4,000,000
3. Write a program that counts the number of words in a sentence that is inputted" by the user.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
