20
What is the output of the following code?
class Base: pass
class Leaf(Base): pass
print(issubclass(Leaf, Base), isinstance(Base(), Leaf))Easy
What is the output of the following code?
class Base: pass
class Leaf(Base): pass
print(issubclass(Leaf, Base), isinstance(Base(), Leaf))Log in to join the discussion.