python 3: Write a class called Student. This student class should have the following fields:
Write a class called Student. This student class should have the
following fields:
_ _id: This is the id of the student.
_ _scores: This is a list of scores that belong to the student.
Add the following methods:
__str__: This is the print method that will print the following
information:
Student Information
Student ID: 14587
Student Grades: ['85', '98', '100', '45', '88']
Final Grade: 83.2 B
get_id: This method returns the value of the id field.
get_scores: This method returns the list of scores stored in the
scores field.
get_average_scores: This method returns the average of all
scores stored in the _ _scores field.
get_final_grade: This method returns the letter grade for that
student based on the calculated average score. Use the
following table to assign the grade:
A: 90 – 100
B: 80 – 89
C: 70 – 79
D: 60 – 69
F: 0 – 59
7 years ago
Purchase the answer to view it

- student.py