Answers for "put isinstance string"

13

if type is string python

isinstance(s, str)
Posted by: Guest on March-22-2020
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