python‏检测输入是否为整数,如果是整数的话通过,不是的话捕获错误并报错。

NoSuchKey

猜你喜欢

转载自blog.csdn.net/airen3339/article/details/135401265