Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Q1. (20p) The grades of a course is calculated by a midtem and a final. The midterm has a weight of 40% and the final
Q1. (20p) The grades of a course is calculated by a midtem and a final. The midterm has a weight of 40% and the final has a weight of 60%. If the student did not take midterm since she is sick, then she has to take the make up exam. The midterm grades are recorded in the dictionary called MidDict, the makeup grades are recorded in MakeupDict dictionary and the final grades are recorded in FinalDict dictionary. If the student do not take any of the exams then her grades are recorded as zero in the MakeUpDict and zero in the FinalDict. Write a code that calculates the average grade of a student
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started