摘要: with open('data3.txt','r',encoding='utf-8')as f: t=f.readlines() p=[] for i in t: if t[0]==i: y='原始数据'+'\t'+'四舍五入后数据'+'\n' p.append(y) else: y=i.strip 阅读全文
posted @ 2022-05-15 16:18 小黑酱 阅读(28) 评论(2) 推荐(0) 编辑