python-将字符串转为数字

s = "1.23" # 不是(float)s f = float(s) print(f.__class__)
相关文章
相关标签/搜索