print(type(x))
age = 28
#To get the type us following command
print(type(age))
str = "Hello"
type(str)
print type(variable_name)
>>> i = 123
>>> type(i)
<type 'int'>
>>> type(i) is int
True
>>> i = 123.456
>>> type(i)
<type 'float'>
>>> type(i) is float
True