Question: Create code to generate 1 0 students, and 3 exams per student. You will create a Student class, and an Exam class. The Student class
Create code to generate students, and exams per student.
You will create a Student class, and an Exam class. The Student class should have the following properties:
First Name
Last Name
ID Must be unique
The Exam class will have the following properties:
Exam Number or
Student Id
Score that the student received
Store the exams in a dictionary related to each student. Loop through each of the students and calculate their average score on the
exams.
HINT:
You will use lists to store students, and dictionaries to store the exams. You will want to use the Student ID as the
key for the dictionary, and a list of exams to store the exams.
Your output should look like the output below:
Student :
Student :
Student :
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
