In this liveProject, you’ll explore how inheritance works in Python through developing classes that might be used in a simple video game. Your game follows animal characters moving through an obstacle course, with different movement styles for wolves, bears, eagles, ducks, frogs, and trout. In order to avoid having to repeat your code between characters, you’ll create some base classes and inherit from them. You’ll see how to inherit from more than one class at a time, and discover use cases for multiple inheritance.
This project is designed for learning purposes and is not a complete, production-ready application or solution.
This liveProject is for both new and experienced Python programmers who want to improve their understanding of the language. To begin this liveProject you will need to be familiar with:
- Python “shell” such as Jupyter Notebook
you will learn
In this liveProject, you’ll master fundamental Python concepts and techniques that will help you grow as a Python programmer.
- Using Python’s system of inheritance