More on Python numbers

INT

a = 5 
b = 7555684
c = -63348
print(type(a))     # These statements will give the variable type 
print(type(b))
print(type(c))

Output

<class 'int'> <class 'int'> <class 'int'>


FLOAT

a = 5.33
b = 755.5684
c = -6334.8
print(type(a)) # These statements will give the variable type
print(type(b))
print(type(c))

Output

<class 'float'>
<class 'float'>
<class 'float'>