Question: python please, Create a Class called Square as a subclass of Shape and implement the data member and methods side1, getArea and getPerimeter Create another

python please,
Create a Class called Square as a subclass of Shape and implement the data member and methods side1, getArea and getPerimeter Create another Class called Rectangle as a subclass of Shape and implement Shape.side1 and Rectangle class's side2 Write the methods getArea and getPerimeter for Rectangle class Create another class called Triangle as a subclass of Shape and implement Shape.side1 and Triangle's class's side2 and side3. Write the methods getArea and getPerimeter for Triangle class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
