阅读背景:

将字符串转换为使用try/除去Python。

来源:互联网 

So I'm pretty stumped on how to convert a string into an int using the try/except function. Does anyone know a simple function on how to do this? I feel like I'm still a little hazy on string and ints. I'm pretty confident that ints are related to numbers. Strings...not so much.So I'm pretty stumped on how to convert a strin




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: