Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Number Data Type in Python

a = 5

print(type(a))

print(type(5.0))

c = 5 + 3j
print(c + 3)

print(isinstance(c, complex))
 
PREVIOUS NEXT
Tagged: #Number #Data #Type #Python
ADD COMMENT
Topic
Name
5+8 =