isinstance python multiple types code example
Example 1: isinstance several variables
'check if variables days, months or years are all integers
if not all(isinstance(i, int) for i in [days, months, years]):
Example 2: isinstance python 3 not running
isinstance(object, classinfo)