x = int(raw_input('Enter a number:'))Enter a number:5.2Traceback (most recent call last): File "<pyshell#1>", line 1, in <module> x = int(raw_input('Enter a number:'))ValueError: invalid literal for int() with base 10: '5.2'为什么会出错谢谢
添加回答
举报
0/150
提交
取消