Answered step by step
Verified Expert Solution
Question
1 Approved Answer
For this lab you will: Solve with an algorithm Code it using Python Fun With Strings Write a program that allows a user to input
For this lab you will: Solve with an algorithm Code it using 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. Include your algorithm as python comments throughout your source code. Submit the python (*.py) file. Make sure the indentations are maintained in the submitted file
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