print(type(x))
v = 10 type(v) # <type 'int'>
>>>foo = "Hello, World!" >>>isinstance(foo, str) # isinstance(<input>, <type>) True >>>isinstance(foo, int) False
str = "Hello" type(str)