会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
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
阅读(80)
评论(3)
推荐(0)
编辑
xzy1452
公告
导航
博客园
首页
新随笔
联系
订阅
管理