小编And*_* ND的帖子

我的简单python脚本出错

我在python中创建了这个脚本:

a=raw_input("Enter your Name here:")
b=raw_input("Enter Your Country Name here:")
c=input("Enter Your Phone Number Here:")
Run Code Online (Sandbox Code Playgroud)

--->问题是当我输入一个像123456这样的数字时它没有给出错误但是当我输入123456789或0682020687时它会出错.

有人能解释为什么会这样,以及如何解决这个问题?

python input

1
推荐指数
1
解决办法
124
查看次数

标签 统计

input ×1

python ×1