Python 报错原因

invalid literal for int() with base 10

原因时因为int()不能将带有小数点的字符串转化为整数类型。

posted @ 2022-10-08 11:58  记录——去繁就简  阅读(34)  评论(0)    收藏  举报