check if varibale is object 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]):