摘要: def str2float(s): def f(x, y): return x 10 + y n = s.index('.') s1 = reduce(f, map(int, s.replace('.', ''))) return s1/(10 n) 阅读全文
posted @ 2020-05-15 12:07 奋斗的小崽123 阅读(629) 评论(1) 推荐(0) 编辑