Join 36000+ teachers and students using TTIO.
There are three numeric types in Python. Remember 'int' or integer refers to a whole number (with no decimal points)
Variables of numeric types are created when you assign a value to them:
x = 1 # int
y = 2.8 # float
z = 1j # complex
To verify the type of any object in Python, use the