Question: Please write a Python code that satisfies the following: 4 Due Date: 31 October Reading: Sectien 10.24 Write a program that prompts the user to
4 Due Date: 31 October Reading: Sectien 10.24 Write a program that prompts the user to enter a list of names. Each person's name is separated from the next by a semi-colon and a space (: and the names are entered lastName, firstName (i.e. separated by' ). Your program should then print out the names, one per line, with the first names first followed by the last names A sample run of your program should look like: Please enter your list of names: Epstein, Susan: St. John, Katherine: Vazquez-Abad, Felisa; Xu, Jia; Zamfirescu, Christina You entered: Susan Epstein Katherine St. John Felisa Vazquez-Abad Jia Xu Christina Zamfirescu Thank you for using my name organizer Hint: See Section 10.24 for a quick overview of split). Do this problem in parts: first, split the list by person (what should the delimiter be?). Then, split each of person's name into first and last name (what should the delimiter be here?)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
