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?
- JavaScript
- Python
- PHP
- SQL
Python Fundamentals
A set of coding problems that cover the basic syntax and features of the programming language.
1. VariablesComplexity
2. FunctionsComplexity
3. OperatorsComplexity
4. Control structuresComplexity
5. Classes and ObjectsComplexity
6. DictionariesComplexity
7. StringsComplexity
8. MathComplexity