Commit 8a5b62c1 by BellCodeEditor

save project

parent 3b4a5a71
Showing with 2 additions and 1 deletions
......@@ -8,7 +8,7 @@ for i in a:
for sales in data[1:]:
sum=sum+int(sales)
result=data[0]+str(sum)
print(result)
final_sum.append(result)
with open(rwith open(r'C:\Users\Administrator\Desktop\新建文本文档 (2).txt','a',encoding='utf-8') as file:
file.writelines(final_sum)
\ 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