摘要: with open('data3.txt','r+',encoding='utf-8')as f: a=[] for i in f: i=i.strip('\n') a.append(i) a.pop(0) b=[eval(i) for i in a] print(f'原始数据:\n{b}') c= 阅读全文
posted @ 2022-05-16 21:25 王景如 阅读(20) 评论(2) 推荐(0) 编辑