Commit 1d804ba6 by BellCodeEditor

save project

parent b011ba71
Showing with 14 additions and 0 deletions
with open(r'D:\'test_new.txt','r',encoding='utf-8') as f:
# f.write('小明: 13 45 89 98 143\n')
# f.write("小木:34 68 85 97 105\n")
# f.write('小红:54 74 80 89 92 3449')
a=f.readlines()
# print(a)
for i in a:
print(i)
\ No newline at end of file
with open(r'D:\'test_new.txt','w',encoding='utf-8') as f:
f.write('小明: 13 45 89 98 143\n')
f.write("小木:34 68 85 97 105\n")
f.write('小红:54 74 80 89 92 3449')
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment