Python Comparing Two Objects


Design an object of your choice. Initialization of your object must require at least one parameter. You must be able to print the object in a meaningful way, and you should define what it means for two objects to be equal. Additionally, your object must do one trick (e.g. change color). Start by using UML and plan the functionality of each method (including the constructor).

Then implement a Class in Python that represents your object. Create three objects: two that are equivalent and one that is not. Show this is the case.

Leave a Reply

Your email address will not be published. Required fields are marked *



  • File Format: Python .py, MS-Doc .docx
  • Version: 3.5, 2.7 Both
  • Includes Documentation: UML Diagram and description included