Question: Compute the program using Python not Java. Write a program continuously asks the user to enter a sentence until they type -999. It should call
Write a program continuously asks the user to enter a sentence until they type "-999". It should call FUNCTIONS to do the following: Collect the uppercase, lowercase, whitespace, digits and punctuation characters that are contained in the sentence WITHOUT DUPLICATES Output: Be sure to LABEL and PRINT the following: uppercase letters (sorted A-Z) WITHOUT DUPLICATES lowercase letters (sorted A-Z) WITHOUT DUPLICATES digits (sorted from HIGHEST to LOWEST) WITHOUT DUPLICATES Write a program continuously asks the user to enter a sentence until they type "-999". It should call FUNCTIONS to do the following: Collect the uppercase, lowercase, whitespace, digits and punctuation characters that are contained in the sentence WITHOUT DUPLICATES Output: Be sure to LABEL and PRINT the following: uppercase letters (sorted A-Z) WITHOUT DUPLICATES lowercase letters (sorted A-Z) WITHOUT DUPLICATES digits (sorted from HIGHEST to LOWEST) WITHOUT DUPLICATES punctuation whitespace WITHOUT DUPLICATES (note - whitespace includes space, tab, newline)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
