how to check if an object is an instance of a class python code example
Example: 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]):
'check if variables days, months or years are all integers
if not all(isinstance(i, int) for i in [days, months, years]):