Commit 2b0e6ee5 by BellCodeEditor

save project

parent 253c032b
Showing with 3 additions and 3 deletions
...@@ -13,5 +13,5 @@ for i in a: ...@@ -13,5 +13,5 @@ for i in a:
result=new_i[0]+str(sum)+'\n' result=new_i[0]+str(sum)+'\n'
b.append(result) b.append(result)
# print(result) # print(result)
with open(r'C:\Users\Administrator\Desktop\test.txt','w',encoding='utf-8')as file: with open(r'C:\Users\Administrator\Desktop\test.txt','w',encoding='utf-8')as file1:
file.writelines(b) file1.writelines(b)
\ No newline at end of file \ 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