how to get type of value in pthon code example Example: print variable type python v = 10 type(v) # <type 'int'>