Question
For this lab you will do 2 things: Solve the problem in an algorithm Code it in Python Fun With Strings Write a program that
For this lab you will do 2 things: Solve the problem in an algorithm Code it in Python Fun With Strings Write a program that allows a user to input a sentence and then it shows the user various fun things done with the sentence. The program must store the words from the sentence in a list. Output should be very user friendly and tell the user what it is displaying. Include at a minimum: 1. Sentence in title case 2. Sentence in upper case 3. Sentence in lowercase 4. Number of words in sentence 5. Number of times a particular letter shows up in the sentence 6. A new word by concatenating the first word and last word 7. An acronym formed by putting the first letter of each word together (uppercase). 8. Some additional string fun (make sure to use a comment to explain it) Make sure the program is user friendly. Ask the user for his/her name, introduce the program, thank them for using it, etc. Make sure you have heading comments and comments throughout the code.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started