2022年5月16日

实验五 文件应用编程

摘要: task_3 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{ 阅读全文
posted @ 2022-05-16 23:03 写作业的xzy 阅读(45) 评论(3) 推荐(0) 编辑