<jupyter_start><jupyter_text>Homework: Grade Distributions The ProblemProfessor <NAME> is at it again. He would like you to improve on the program you wrote for him last week. As you may recall this program, when given an input of a student points earned in the course, would output a letter grade and grade points.Prof. Xavier would like the program to input multiple points earned as part of a sentinel controlled loop, and as each student total point score is entered calculate the following statistics:- count of student point scores in "A" range, and percentage of total- count of student point scores in "B" range, and percentage of total- count of student point scores in "C" range, and percentage of total- count of student point scores in "D" range, and percentage of total- count of student point scores in "F" range, and percentage of total- total count of point scores enteredNOTE: The statistics are only displayed when the command `stats` is entered.Once again, here is the grading scale he uses:     Point Range Grade Grade Points    125-150     A     4.0    100-124     B     3.0    75-99       C     2.0    50-74       D     1.0    0-49        F     0.0    Sample Run:    Enter student's total points, type 'stats' or type 'quit': 130    Enter student's total points, type 'stats' or type 'quit': 111    Enter student's total points, type 'stats' or type 'quit': 145    Enter student's total points, type 'stats' or type 'quit': stats        Scores : 3        A's    : 2 (66%)        B's    : 1 (33%)        C's    : 0 (0%)        D's    : 0 (0%)        F's    : 0 (0%)    Enter student's total points, type 'stats' or type 'quit': 100    Enter student's total points, type 'stats' or type 'quit': 60    Enter student's total points, type 'stats' or type 'quit': stats        Scores : 5        A's    : 2 (40%)        B's    : 2 (40%)        C's    : 0 (0%)        D's    : 1 (20%)        F's    : 0 (0%)    Enter student's total points, type 'stats' or type 'quit': quit    Goodbye!        HINTS: **use problem simplification** like we did in small group and the lab!- Start small: just get it to count scores, then maybe A's etc.- if you cannot figure out the 'stats' command, print stats each time, then try to add it afterwards. If you want in the X-men you need to suck up to Prof. Xavier!!!Print your stats using a text-only tech bar chart, like this. This is easy to do in Python with the `*` string operator. Look it up and make it your own!    Scores : 30    A's    | ************ 12 (40%)    B's    | ********* 9 (30%)    C's    | *** 3 (10%)    D's    | ****** 6 (20%)    F's    | (0%)  Part 1: Problem AnalysisInputs: ```TODO: Inputs```Outputs:```TODO: Outputs```Algorithm (Steps in Program):  ```TODO:Steps Here```  Part 2: Code SolutionYou may write your code in several cells, but place the complete, final working copy of your code solution within this single cell below. Only the within this cell will be considered your solution.<jupyter_code># Step 2: Write code here<jupyter_output><empty_output><jupyter_text>Part 3: Questions1. Did you use a while or for loop? Explain.`--== Double-Click and Write Your Answer Below This Line ==--`  2. What is the most challenging aspect of testing a program like this?`--== Double-Click and Write Your Answer Below This Line ==--`  3. How easy is it to modify the grading scale in this program?`--== Double-Click and Write Your Answer Below This Line ==--`    Part 4: ReflectionReflect upon your experience completing this assignment. This should be a personal narrative, in your own voice, and cite specifics relevant to the activity as to help the grader understand how you arrived at the code you submitted. Things to consider touching upon: Elaborate on the process itself. Did your original problem analysis work as designed?  How many iterations did you go through before you arrived at the solution? Where did you struggle along the way and how did you overcome it? What did you learn from completing the assignment? What do you need to work on to get better? What was most valuable and least valuable about this exercise? Do you have any suggestions for improvements?To make a good reflection, you should journal your thoughts, questions and comments while you complete the exercise.Keep your response to between 100 and 250 words.`--== Double-Click and Write Your Reflection Below Here ==--`<jupyter_code># run this code to turn in your work!
from coursetools.submission import Submission
Submission().submit()<jupyter_output><empty_output>
StarcoderdataJupyterStructuredCleanDedup