Question: Write a program that asks the user for a student name and asks for grades until the user enters a non-number input, it should then

Write a program that asks the user for a student name and asks for grades until the user enters a non-number input, it should then ask if the user wants to enter another student, and keep doing the process until the user stops adding students.

The students must be stored in a dictionary with their names as the keys and grades in a list.

The program should then iterate over the dictionary elements producing the min, max, and mean of their grades.

Example Execution: Enter a student name: "MaryJo" Enter a Grade for MaryJo: 88 Enter a Grade for MaryJo: 71 Enter a Grade for MaryJo: 90 Enter a Grade for MaryJo: done Do you want to add another student: yes Enter a student name: "Jim" Enter a Grade for Jim: 85 Enter a Grade for Jim: 89 Enter a Grade for Jim: no Do you want to add another student: No Student Stats: MaryJo (71 -90): 83 Jim (85 -89): 87

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 Databases Questions!