Question: Code in python. class Evaluation: The number of points (int) with a text evaluation (str) gotten from a particular assignment In the code given

 Code in python. class Evaluation: "" "The number of points (int)

Code in python.

class Evaluation: "" "The number of points (int) with a text evaluation (str) gotten from a particular assignment""" In the code given above, implement the following tasks. 1. Implement class StudentRecord that stores a sequence of Evaluation instances. 2. Add support for comparing StudentRecord instances with ' == ' 3. Add support for adding Evaluation instance to a Studentrecord sequence. 4. Implement class PositiveEvaluation which inherits from Evaluation and ensures that the number of points is strictly positive (>0). Ensure this by raising an appropriate exception if not. Try to reuse as much code from StudentRecord as possible. StudentRecord example \>> StudentRecord([Evaluation(4, "Nice work")]) == StudentRecord() + Evaluation(4, "Nice work") True

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 Databases Questions!