Question: PYTHON PLEASEWrite a code segment for each of the following: Ask the user for a string print out the string in all capital letters and
PYTHON PLEASEWrite a code segment for each of the following:
Ask the user for a string
print out the string in all capital letters and print the string capitalizing each word in the string.
divide the string into a list of words in the string and print out each word and the length of the word.
After printing out all of the words, print out the total length of all the words. This shouldnt include the spaces in the original string.PYTHON
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
