Which method checks if provided object is an instance of specified class?
Explanation
isinstance(obj, class) method return True if obj is an instance of specified class and False otherwise.

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
Python quizzes
Cosmo
Sign Up Now
or Subscribe for future quizzes