Printing the types of variables

 a = '''harry'''

b = 345
c = 45.32
d = True

#Printing the types of variables
print (type(a))
print (type(b))
print (type(c))
print (type(d))

TERMINAL.......

<class 'str'> <class 'int'> <class 'float'> <class 'bool'>




Comments

Popular posts from this blog