with ope('data1.txt') as f:
data=f.readline()
with open('data2.txt','w') as f:
f.write(data)
'data1.txt'内容如下图所示,'data2.txt'文件无内容

A.data2.txt文件中仍旧无内容
B.data2.txt文件中的内容为'hello,world,
C.data2.txt文件中的内容为'hello,world,I like Python'
D.data1.txt文件中的内容将丢失
Scratch3.0 全国青少年软件编程等级考试 Python Scratch图形化一级 Scratch图形化四级 Scratch图形化三级 Scratch图形化二级 电子学会