x = 42 y = 3.14 name = "Python" print(type(x)) # <class 'int'> print(type(y)) # <class 'float'> print(type(name)) # <class 'str'>
Click Run to execute this code.