Python Programming - Functions - Discussion

Discussion Forum : Functions - General Questions (Q.No. 65)
65.
What does the isinstance function check for?
It checks if an object is an instance of a specific class.
It checks if an object is iterable.
It checks if an object is callable.
It checks if an object is a string.
Answer: Option
Explanation:
The isinstance function in Python checks if an object is an instance of a specific class.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.