What is the output of the following code ?
class A: pass class B(A): pass class C(B): pass obj = C() print(isinstance(obj, A))
True
False
None
Error
isinstance(obj, A) returns True as obj is an instance of A , due to multilevel inheritance
Comment here: