Please ensure that JavaScript is running.
Learn
Challenges
Blogs
About
Contact
Learn
Challenges
Blogs
About
Contact
Home
/
Code-challenges
/
Create Shape objects
Python Code Challenge
150 -
Create a class Shape with a method area that returns 0. Create subclasses Rectangle, Triangle, and Circle and override the area method to return the corresponding shape's area.
Python
Object Oriented Programming