Q23
What will be the output of the following Python code? >>> class A: pass >>> class B(A): pass >>> obj=B() >>> isinstance(obj,A)
A.
True
AnswerB.
False
C.
Wrong syntax for isinstance() method
D.
Invalid method for classes
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board