1. Open the GeometryDemo.py program and create your own new class that inherits from Point, called Ellipse, with a horizontal and vertical radius rather than just a single radius like the one in Circle.
2. Add a new method to the Rectangle class called CalcArea(), that returns the area of the Rectangle. The formula is: Area = Width * Height. Test the method to be sure it works.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here