Result Size:
625 x 571
demo_casting_int.py:
x = int(1) y = int(2.8) z = int("3") print(x) print(y) print(z)
x
x
=
int
(
1
)
y
=
int
(
2.8
)
z
=
int
(
"3"
)
print
(
x
)
print
(
y
)
print
(
z
)
C:\Users\My Name>python demo_casting_int.py
1
2
3