?
What will be the output of the following Python code?
What will be the output of the following Python code?
>>> class A:
pass
>>> class B(A):
pass
>>> obj=B()
>>> isinstance(obj,A)
>>> class A:
pass
>>> class B(A):
pass
>>> obj=B()
>>> isinstance(obj,A)
Join the Discussion
Login to post a comment or share your explanation.
Login