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:

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter6: Modularity Using Functions
Section6.4: A Case Study: Rectangular To Polar Coordinate Conversion
Problem 7E: (Simulation) Write a program to simulate the roll of two dice. If the total of the two dice is 7 or...
icon
Related questions
Question
100%

python

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:
= Notes
88
모
Transcribed Image Text: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: = Notes 88 모
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,