Question: In python lang. -Create an app that will ask a user for a name. The program will then generate a secret identity name. If the

In python lang. -Create an app that will ask a user for a name. The program will then generate a "secret identity name." If the new name is not appropriate, then allow the user to enter in another name. If the name is appropriate, end the program. - In a function called main, ask the user for a first and last name. In the main function, pass the user's name to a function called secret_name that will switch the first letter of the first name with the first letter of the last name, then return the new name. -In the main function, pass this new name to a function called check_name that will check to make sure that there are no "forbidden words" in the user's name. - In the main function, check the value that was returned by check_name. If check_name says the name was appropriate, print the name in all capital letters, then end the program. If the user's new name has a forbidden word in it, then have the main function ask the user to enter a new name and repeat steps 2-4 until the new name is appropriate. -Call the main function. Your program should only call the main function once. Aside from the main() function call, all other code should be inside the secret_name or check_name functions
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
