Answers for "how to use isinstance python"

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]):
Posted by: Guest on September-05-2020

Python Answers by Framework

Browse Popular Code Answers by Language