Question: Using a concept of Decision structure, Repetition structure, Function, Files and Exceptions, Lists / Tuples , Strings, Dictionaries / Sets and Class and Object oriented

Using a concept of Decision structure, Repetition structure, Function, Files and Exceptions, Lists/Tuples, Strings, Dictionaries/Sets and Class and Object oriented programming.
Write a Python program that processes a given paragraph of text and performs the following tasks:
Python is a versatile and powerful programming language. Python is widely used for web development, data analysis, artificial intelligence, and more. With its simple syntax, Python is easy to learn and highly productive. Python continues to grow in popularity among developers worldwide.
1. Convert the paragraph to lowercase and display it.
2. Count and display the total number of words in the paragraph (assume words are separated by spaces).
3. Count the total number of vowels (a, e, i, o, u) in the string.
4. Count the occurrences of a specific word (case-insensitive) entered by the user.
5. Replace all occurrences of a specific word with another word (both provided by the user) and display the modified paragraph.
6. Split the paragraph into a list of sentences and display it.
7. Convert the string to title case (capitalize the first letter of each word).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!