Question: ( 6 0 points ) Coding problem Create a Python class named Grades that computes the course grades. Write the code to produce an output

(60 points) Coding problem
Create a Python class named Grades that computes the course grades. Write the code to produce an output like the example provided. Ensure you also display the results, not just the code.
Note: For grading, use the following percentages: Homework =40%, Exams =50%, Labs and Participation =5% each. Assume full participation points are 100, and for labs, 100 points are awarded if there are more than 6 sessions, with a proportional decrease otherwise.
Example Usage:
grade =Grades(0.4,0.5,0.05,0.05),# Percentages
grade.addHomework ([100,110,90,100,100]) # List of homework scores grade.addExams ([70,100,80,105] # List of exam scores
grade.setLabs(3) # Number of lab sessions
grade.report()
Output:
GRADE REPORT
Homework Points
Homework 1100
Homework 2,110
Homework 390
Homework 4,100
Homework 5100
Total =500, Num =5, Average =100.00
Exams Points
Exam 1,70
Exam 2,100
Exam 3,80
Exam 4,105
Total =355, Num =4, Average =88.75
Lab sessions =3, Points =50.00
Class Participation Points =100
SUMMARY
\table[[Homework,100.00,x,40%,=40.00
( 6 0 points ) Coding problem Create a Python

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!