demo_numbers_float.py:
x = 1.10 y = 1.0 z = -35.59 print(type(x)) print(type(y)) print(type(z))
➜ begtut>python demo_numbers_float.py
<class 'float'>
<class 'float'>
<class 'float'>