Question: Using Python. 1. Name switching. Ask the user to enter a person's name in first-last order, and display the name in last- comma-first order. For
1. Name switching. Ask the user to enter a person's name in first-last order, and display the name in last- comma-first order. For example, if the user enters the string "Thomas Jefferson", the output should be "Jefferson, Thomas". Allow the user to input 3 names. Call the program nameReverse. 2. Splitting a domain name. Ask the user to enter a three-part internet domain name and print the company name only. For example, if the user enters the string "www.Amazon.com', the output should be "Amazon". Call the program company Name. Allow the user to input 3 internet domain names
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
