Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Create a main program that prompt the user for a name, read it and then present

ID: 3541471 • Letter: C

Question

Create a main program that prompt the user for a name, read it and then present a menu with the choices to alter the name, change names, or quit as shown below, You should output the name being processed to reflect the transformation. If the transformation cannot be done, the string should not change. (code should have error detection. If the input string does not meet the requirements of the function return original string.)


Example of code output to achieve


Please enter a name:  ex. White III, John

Pick a transformation:

1. reverse the name

2. remove the prefix

3. remove the suffix

4. remove the nickname

5. return the nickname

6. change the name

7. quit program


Examples of the choices that will output given if a user choose that option.


Choice: 1

John White III

Choice:  3

John White

Choice: 4

John White


code should be able to be saved in .py format.

Explanation / Answer

Hi, I can do this. But you have to give me an example with all 7 cases first. Take an input and give the sample output for all choices. Because, I am unable to figure out, where ll you enter nickname etc..

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote