Question: This will be in python using visual studio. if you need more information just let me know Thank you so much Task 1: Rectangle and

This will be in python using visual studio. if you need more information just let me know

Thank you so much

Task 1: Rectangle and Ellipse Learning Objectives This task is focused onthe following 1 learning objective: Implement simple classes in Python with severalinstance attributes and methods. (LO1) Task Overview You will achieve the learningobjectives mentioned above by performing the following 10 activities: Declare a classnamed Geometric Shape in the geometric_shapes.py file. (LO1) . Implement the init__method of the GeometricShape class with the name parameter. (L01) Declare a

Task 1: Rectangle and Ellipse Learning Objectives This task is focused on the following 1 learning objective: Implement simple classes in Python with several instance attributes and methods. (LO1) Task Overview You will achieve the learning objectives mentioned above by performing the following 10 activities: Declare a class named Geometric Shape in the geometric_shapes.py file. (LO1) . Implement the init__ method of the GeometricShape class with the name parameter. (L01) Declare a class named Rectangle in the geometric_shapes.py file. (L01) . Implement the _init____ method of the Rectangle class with the length and width parameters. (L01) Implement the get_perimeter method for the Rectangle class. (L01) Implement the get_area method for the Rectangle class. (L01) Declare a class named Ellipse in the geometric_shapes.py file. (LO1) Implement the _init____ method of the Ellipse class with the semi_major_axis and semi_minor_axis parameters. (L01) Implement the get_perimeter method for the Ellipse class. (L01) Implement the get_area method for the Ellipse class. (L01) . Steps to Complete Start your work by creating a new geometric_shapes.py file in your handout directory. The first task is to implement the foundations (boilerplate) for the following three classes: GeometricShape: This class represents the abstract concept of an arbitrary geometric shape. Rectangle : This class represents a rectangle as a special case of a geometric shape. The rectangle is defined by its width and length. Ellipse: This class represents an ellipse as a special case of a geometric shape. The ellipse is defined by its semi-major axis and semi-minor axis.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

geometricshapespy class GeometricShape def initself name self... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!