Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Databases

Authors: Ian Robinson, Jim Webber, Emil Eifrem

1st Edition

1449356265, 978-1449356262

More Books

Students also viewed these Databases questions

Question

1. Give yourself plenty of time to eat and get to the exam room.

Answered: 1 week ago

Question

5. Recognize your ability to repair and let go of painful conflict

Answered: 1 week ago