Answered You can hire a professional tutor to get the answer.

QUESTION

A professor is grading the exams of his students and wants to save

Question 5 (Homework Question) A professor is grading the exams of his students and wants to save their grade in adictionary (with the key being their name and the grade for the exam as a value) Create the functions below: 0 Function called “addStudent” which takes in two parameters, name and grade, andadds the student as a key and a grade as a value to the dictionary 0 Function called “deleteStudent” which takes a name as a parameter and deletes thatstudent from the dictionary 0 Function called “getStatisitcs” which returns as a Mthe minimum grade, maximumgrade, and average of the grades in the dictionary. Use math.fsum() function frommath module to get the sum of the grades which is needed to find average. Import only this one function from the math module. Do not import all the functions.0 Function called “SaveToFile” which takes one parameter as file name, and saves the student and their grades into this file. In the file, the grade is to be tabbed from thename and each student is on a new line (see example in next slide)

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question