摘要: fileid = 1print('%04d'%fileid)结果:0001 a=1.333333344,将这个数保存为小数点后3位 '%.03f'%a 结果:1.333 阅读全文
posted @ 2020-03-04 22:50 小鱼o。 阅读(129) 评论(0) 推荐(0)