Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python number type

a = type(1)
b = type(1.4)
c = type(1j)
print(a,b,c)
# Output : <class 'int'> <class 'float'> <class 'complex'>
 
PREVIOUS NEXT
Tagged: #python #number #type
ADD COMMENT
Topic
Name
4+9 =