LAB ASSIGNMENT, CONT. 3. feedback_collector.py - use all.of the mipo_ ex program features for this program. It collects phrases that will be used in an online learning system, when students get answers right. Inputs: ask the user to enter multiple feedback phrases into a single input prompt. Each phrase must end in an exclamation point. No capitals required. Validate that the input is not blank, and has at least 1 exclamation point + space. Fix common errors, like taking out extra spaces. Return the corrected input string. Processing: take in the input string, and send it to a function that splits the phrases into a list, based on the ! character. Create an empty list, to hold corrected phrases. Use the first list with a loop, to work on each phrase. Apply methods like .strip() and .title(), and add back the ! to each phrase. Append each corrected phrase to the corrected list & return • Outputs() – take in the corrected phrase list and use loop printing to display each phrase as shown. Welcome to the feedback generator Please enter multiple feedback phrases, each ending in a ! Enter as many as you like. You don't have to capitalize. you're avesome! you rock! you got this! Here are your feedback phrases: 1: You're awesome! 2: You rock! 3: You got this! Thanks for helping us build our feedback library. Would you like to try again? Enter y or n:

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
100%

python

**Lab Assignment, Continued**

**3. feedback_collector.py** – Use **all** of the mipo_ex program features for this program. It collects phrases that will be used in an online learning system, when students get answers right.

- **Inputs:** Ask the user to enter multiple feedback phrases into a single input prompt. Each phrase must end in an exclamation point. No capitals required. Validate that the input is not blank, and has at least 1 exclamation point + space. Fix common errors, like taking out extra spaces. Return the corrected input string.

- **Processing:** Take in the input string and send it to a function that splits the phrases into a list, based on the exclamation point character. Create an empty list to hold corrected phrases. Use the first list with a loop to work on each phrase. Apply methods like `.strip()` and `.title()` and add back the exclamation point to each phrase. Append each corrected phrase to the corrected list & return.

- **Outputs:** Take in the corrected phrase list and use loop printing to display each phrase as shown.

*Example dialog box:*

```
Welcome to the feedback generator
Please enter multiple feedback phrases, each ending in a !
Enter as many as you like. You don't have to capitalize. you're awesome! you rock! you got this!
Here are your feedback phrases:
1: You're awesome!
2: You rock!
3: You got this!
Thanks for helping us build our feedback library.
Would you like to try again? Enter y or n: 
```
Transcribed Image Text:**Lab Assignment, Continued** **3. feedback_collector.py** – Use **all** of the mipo_ex program features for this program. It collects phrases that will be used in an online learning system, when students get answers right. - **Inputs:** Ask the user to enter multiple feedback phrases into a single input prompt. Each phrase must end in an exclamation point. No capitals required. Validate that the input is not blank, and has at least 1 exclamation point + space. Fix common errors, like taking out extra spaces. Return the corrected input string. - **Processing:** Take in the input string and send it to a function that splits the phrases into a list, based on the exclamation point character. Create an empty list to hold corrected phrases. Use the first list with a loop to work on each phrase. Apply methods like `.strip()` and `.title()` and add back the exclamation point to each phrase. Append each corrected phrase to the corrected list & return. - **Outputs:** Take in the corrected phrase list and use loop printing to display each phrase as shown. *Example dialog box:* ``` Welcome to the feedback generator Please enter multiple feedback phrases, each ending in a ! Enter as many as you like. You don't have to capitalize. you're awesome! you rock! you got this! Here are your feedback phrases: 1: You're awesome! 2: You rock! 3: You got this! Thanks for helping us build our feedback library. Would you like to try again? Enter y or n: ```
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 4 images

Blurred answer
Knowledge Booster
Introduction to computer system
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education