摘要: 调用int()函数转整型时,报错如下: >>> int('1.25')Traceback (most recent call last): File "<pyshell#42>", line 1, in <module> int('1.25')ValueError: invalid literal 阅读全文
posted @ 2019-10-29 15:27 渡狸 阅读(576) 评论(0) 推荐(0)