Python coding challenge

Extending classes

āœØ Your Task

Define a new class named Human that: šŸ‘‰ extends the existing Mammal class AND šŸ‘‰ overrides the subgroup method returning the value Primate.

āœļø Python Python 3
šŸ‘‰ Press "Run" and check the result below.
Test cases
Class Human should be a subclass of Mammal
The subgroup() method should return the value Primate

Want to try another challenge?

Python Fundamentals
A set of coding problems that cover the basic syntax and features of the programming language.