Question: PYTHON PROGRAMMING 1) Prompt t the user to enter a string of their choosing Store the text in a string Output th e string Enter


PYTHON PROGRAMMING
1) Prompt t the user to enter a string of their choosing Store the text in a string Output th e string Enter a sample text We 11 continue our est in a There will be Tore huttle fli ts and Tore shuttle erews and, yes, more volunteers, more civilians, more teachera in space Nothing enda here: our hopes and our journeys continue You entered We ll continue our quest in apace There will be more ehuttle flights and more shuttle crews and ese more volunteers, more civilians more teachers in space. Nothing enda here our hopes and our journeys continue (2) Implement a PrintMenu() function, which has a string as a parameter, outputs a menu of user options for analyzing/editing the string and returns the user entered menu Each ion a single character If an invalid character is entered continue to prompt for a valid choice. Hint: Implement quit before implementing other options Call PrintMenu in the main function Continue to call Prin until the user entera q to Quit (3 pts) Ex Number of non-whitespace characters r Replace all horten apacea Quit Choose an option Implement a constant string as a parameter and return The number of characters in the atring excluding all whiteapace Call GetNurmorNonW5Charactera in the PrintMenu function (4 pta) Ex
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
