主页
Python
Python 类型转换
demo_casting_int
运行 ❯
×
更改方向
保存代码
更改主题
x = int(1) y = int(2.8) z = int("3") print(x) print(y) print(z)
1
2
3