python check if variable is a specific type 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]):