5. Multiple Inheritance and What Object is It?ΒΆ
Multiple inheritance is possible.
There may be times when you want to check the type of an instance.
Python has the
isinstance
function.It allows you to check if an instance of a class is actually of a given class.
-
On a scale from 1 (needs improvement) to 3 (excellent),
how would you rate this chapter?
- 1
- 2
- 3
You have attempted of activities on this page