Commit 5d17e60f by BellCodeEditor

save project

parent 33c570aa
Showing with 1 additions and 1 deletions
......@@ -10,7 +10,7 @@ for i in a:
for j in data[1:]:
sum=sum+int(j)
total+=sum
result.appendprint(data[0]+''+str(sum)+'\n')
result.append(data[0]+''+str(sum)+'\n')
result.append('縂和:'+str(total))
with open(r'c:\Users\Administrator\Documents\lesson13-1\1.txt','w',encoding='utf-8') as 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