Sprawdź Python DataType

a = 123
 
b = 'Hello'
 
print('Is a an instance of str?', isinstance(a, str))
print('Is b an instance of str?', isinstance(b, str))
Jumping Boy