Question: Python help!! Write a Python program named labprep3.py that includes 3 functions, main,twist) and stats ) The main) function prompts the user for a text

Python help!! Python help!! Write a Python program named labprep3.py that includes 3 functions,

Write a Python program named labprep3.py that includes 3 functions, main,twist) and stats ) The main) function prompts the user for a text message, assigns the input to a String and then calls the twist and stats functions providing the String as an argument Using Python's String methods, the twist) and statsfunctions perform the following tasks: The twist function displays several variations of the String provided The first letter of each word in the String is capitalized The String in ALL CAPITAL characters Every other character in all lower case characters ( ' Boiler Up ! ' ' bie p ' ) * ' ('Boiler Up ! 'PU-RELIOB ' ) The stats function displays statistics about the String provided The number of spaces in the string The number of words in the string The number of vowels in the string (A, E, I, O and U regardless of capitalization)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!