Commit 7e3946f3 by BellCodeEditor

save project

parent c4064839
Showing with 1 additions and 1 deletions
......@@ -10,7 +10,7 @@ for i in w:
for z in b[1:]:
sum=sum+int(z)
result=b[0]+str(sum)+'\n'
final_sum.append(readlines)
final_sum.append(result)
with open(r'C:\Users\周子轩\Desktop\test.txt','r',encoding='utf-8') as file:
#print(result)
file.writelines(final_sum)
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