Question: python please 2. (25 pts) Please check the diagram which describes a scenario for some states of a TeaCup object. W STOP 0 . Please

2. (25 pts) Please check the diagram which describes a scenario for some states of a TeaCup object. W STOP 0 . Please implement the TeaCup class with necessary attributes that will help you define possible steps. Please implement the necessary methods (methodA, methodB, methodc, methodD and methodE). Please rename them so that their behavior can be better understood by the users of the class. o Implement a report() method in the TeaCup class which prints information about object's state. Implement a test function which simulates construction of an object (in State 1) and calls methodA, methodB, methodC, methodD, methodE, methodD sequence. Please verify your state changes by assertions
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
