Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. Write a class called Student. This student class should have the following fields: Id: This is the Id of the student. -_scores: This
1. 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, 10e, 45, "88') Final Grade 83.2 8 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 100% words Focus
Step by Step Solution
★★★★★
3.31 Rating (145 Votes )
There are 3 Steps involved in it
Step: 1
OUTPUT Student Information Student ID 14345 Student Grades 6...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