66问答网
所有问题
python int(input())
x = int(input())是把输入的x的值用int()转换成整数形式为什么出错了呢?
举报该问题
推荐答案 2019-05-12
int(2.11) = 2
int('2.11') æ¯ä¼æ¥éçã
åªè½å int(float('2.11'))
温馨提示:答案为网友推荐,仅供参考
当前网址:
http://66.wendadaohang.com/zd/D2Us2xsnpspiiDxDDs.html
相似回答
大家正在搜
相关问题
python input()和int(input())有区别...
python 直接input() eval(input())...
python input()和int(input())有区别...
python3怎么从键盘输入一个int类型的数,i = in...
python中的input()具体使用方法
python input() 和 a=input()
Python如何避免int(input( )报错?