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 student’s 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
Explanation::
Code in PYTHON::
import statistics
'''
First we declare an dictionary named studentData
Where key will be name and value will be list of grades
'''
studentGrade = {}
'''
Using while loop we continue asking if user wants to
add student or no
'''
while True:
name = input("Enter a student name:")
name = name.strip('"')
if name not in studentGrade.keys():
studentGrade[name]=[]
while True:
print('Enter a Grade for ',name,':',end='',sep='')
grade = input()
if grade.isdigit():
studentGrade[name].append(int(grade))
else:
break
add = input("Do you want to add another student:").lower()
if add=='no':
break
print('Student stats: ',end='',sep='')
for name, grade in studentGrade.items():
minimum = min(grade)
maximum = max(grade)
meanValue = statistics.mean(grade)
print(name,' (',minimum,'-',maximum,'):',meanValue,' ',end='',sep='')
print()
Screenshot of the code:

![22 name = input(Enter a student name:) name = name.strip() if name not in studentGrade.keys(): studentGrade[name]=[] whil](http://img.homeworklib.com/questions/51b54180-4e9a-11eb-9be9-d3b8c87513fe.png?x-oss-process=image/resize,w_560)
OUTPUT:

Please provide the feedback!!
Thank You!!
Write a program that asks the user for a student name and asks for grades until...
Design and code a JAVA program called ‘Grades’. ? Your system should store student’s name, and his/her course names with grades. ? Your system should allow the user to input, update, delete, list and search students’ grades. ? Each student has a name (assuming no students share the same name) and some course/grade pairs. If an existing name detected, user can choose to quit or to add new courses to that student. ? Each student has 1 to 5 courses,...
Write a program that prompts the user for student grades and displays the highest and lowest grades in the class. The user should enter a character to stop providing values.example Enter as many student grades as you like. Enter a character to stop. The highest grade is: 92.0 The lowest grade is: 10.65# in java
Write a program that asks for 'name from the user and then asks for a number and stores the two in a dictionary [called the_dicr) as key-value pair. The program then asks if the user wants to enter more data [More data ly/n]?) and depending on user choice, either asks for another name-number pair or exits and stores the dictionary key, values in a list of tuples and prints the list Note: Ignore the case where the name is already...
PYTHON PROGRAMMING Instructions: You are responsible for writing a program that allows a user to do one of five things at a time: 1. Add students to database. • There should be no duplicate students. If student already exists, do not add the data again; print a message informing student already exists in database. • Enter name, age, and address. 2. Search for students in the database by name. • User enters student name to search • Show student name,...
Write a program that uses the keys(), values(), and/or items() dict methods to find statistics about the student grades dictionary. Find the following: Print the name and grade percentage of the student with the highest total of points. Also print the grade as per the below grading scale 90 to 100 A 80 to 89 B 70 to 79 C 60 to 69 D Below 60 F Find the average score of each assignment. Use the following data:...
Write a JAVA program that prompts the user for student grades and displays the highest and lowest grades in the class. The user should enter a character to stop providing values. Starter code: import java.util.Scanner; public class MaxMinGrades{ public static void main(String[] args){ Scanner input = new Scanner(System.in); System.out.println("Enter as many student grades as you like. Enter a character to stop."); double grade = input.nextDouble(); double minGrade = Double.MAX_VALUE; double maxGrade = Double.MIN_VALUE; while (Character.isDigit(grade)) { if (grade == 0)...
Write C++ program (studentsGpa.cpp) uses dynamic allocation to create an array of strings. It asks the user to enter a number and based on the entered number it allocates the array size. Then based on that number it asks the user that many times to enter student’s names. What you need to do: Add another array of doubles to store the gpa of each student as you enter them You need to display both the student’s name and...
In this assignment, you will write a program in C++ which uses files and nested loops to create a file from the quiz grades entered by the user, then reads the grades from the file and calculates each student’s average grade and the average quiz grade for the class. Each student takes 6 quizzes (unknown number of students). Use a nested loop to write each student’s quiz grades to a file. Then read the data from the file in order...
Write a program that prompts the user for student grades, calculates and displays the average grade in the class. The user should enter a character to stop providing values.
Write a java program to read a list of exam grades given as int's in the range of 0 to 100. Your program will display the total number of grades and the number of grades in each letter-grade category as follows: A 93 <= grade <= 100 A- 90 <= grade < 93 B+ 87 <= grade < 90 B 83 <= grade < 87 B- 80 <= grade < 83 C+ 77 <= grade < 80 C 73 <=...