Python Numbers
Int, Float, Complex.
Examples
Number Types
Checking number types.
x = 1 # int
y = 2.8 # float
z = 1j # complex
print(type(x))
print(type(y))
print(type(z))Test Your Knowledge
Python Quiz
No quiz available for this topic yet.
Int, Float, Complex.
Checking number types.
x = 1 # int
y = 2.8 # float
z = 1j # complex
print(type(x))
print(type(y))
print(type(z))No quiz available for this topic yet.