Checking the variable's Data Type in Python. Displaying data type of a variable using type() function.
x = 12 print(type(x)) y = 12.4 print(type(y)) z = "Hello word" print(type(z)) b = True print(type(b))