Question: Need in python - - GOALS: Through the completion of this assignment, students should familiarize themselves with the creation of an interface. Students should understand
Need in python GOALS:
Through the completion of this assignment, students should familiarize themselves with the creation of an interface. Students should understand the purpose of organizing methods into an interface so that multiple classes can share the same functionality. Students should also note that implementation of an interface provides a simple way for classes to be organized within a single category without the need for complex inheritance, which can be troublesome and easily leads to code rot software that loses its reusability over time.
FILES TO BE SUBMITTED:
In this assignment, students should create five Python classes called Point, Circle, Square, Rectangle, and TestAll, as well as a Python interface called FigureGeometry. The TestAll class should test all of the other files created in the assignment. After the assignment has been completed, all six files should be submitted for grading into the Dropbox for Assignment which can be found in the Dropbox menu on the course website. Students should note that py file for each classinterface needs to be submitted.
Please click on each of the following links to view specific requirements for the files that must be created and submitted:
Requirements:
Point.py
Requirements:
Circle.py
Requirements;
Rectangle.py
Requirements:Square.py
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
