python3 check if class is an instance of a class 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]):