Question: Implement the Polygon subclass of the GeometricShape class . Provide a constructor __init__(self, vertexList), where the vertex list contains a list of points (each of
Implement the Polygon subclass of the GeometricShape class. Provide a constructor __init__(self, vertexList), where the vertex list contains a list of points (each of which is a list with an x- and y-coordinate)
In Python, include
- comment, docstring, and output of the code
Base code:
shapes.py:
drawpoly.py
testshapes.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
