xxxxxxxxxx
a = 123
b = 'Hello'
print('Is a an instance of str?', isinstance(a, str))
print('Is b an instance of str?', isinstance(b, str))
xxxxxxxxxx
x = 10
print(type(x)) # Output: <class 'int'>
y = 3.14
print(type(y)) # Output: <class 'float'>
z = "Hello"
print(type(z)) # Output: <class 'str'>