Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära Inheritance | OOP project
Best Practices: Python OOP
course content

Kursinnehåll

Best Practices: Python OOP

book
Inheritance

In Python, classes can inherit from other classes, allowing you to reuse code and create a hierarchy of classes. The parent class is known as the base class and the child class is known as the derived class.

Uppgift

Swipe to start coding

Try and experiment round with the GoldenRetriever object!

Lösning

Mark tasks as Completed
Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 7
Vi beklagar att något gick fel. Vad hände?
some-alt