Result Size:
625 x 571
demo_numbers_float.py:
x = 1.10 y = 1.0 z = -35.59 print(type(x)) print(type(y)) print(type(z))
x
x
=
1.10
y
=
1.0
z
=
-
35.59
print
(
type
(
x
))
print
(
type
(
y
))
print
(
type
(
z
))
C:\Users\My Name>python demo_numbers_float.py
<class 'float'>
<class 'float'>
<class 'float'>