type function returns the data type of any arbitrary object. : Type : Buildin Function PYTHON TUTORIALS


PYTHON TUTORIALS » Buildin Function » Type »

 

type function returns the data type of any arbitrary object.


print type(1)                                   
li = [] 
print type(li)                                       
import math
print type(math)                              
print type(42)
print type(type(42))



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Buildin Function
» Type