What is the output of print(isinstance(int, object)) in Python?
print(isinstance(int, object))
Correct answer
A. True
6 views
A. True
6 views
Everything in Python is an object, including classes.
Asked in: Python Interview OOP
https://docs.python.org/3/tutorial/classes.htmlNot sure why the answer is A? Ask here and get an explanation.