Commit 9bb5394b by BellCodeEditor

save project

parent b53078a0
Showing with 2 additions and 1 deletions
......@@ -8,7 +8,7 @@ for i in ofi:
for such in bkgg[1:]:
sum=sum+int(such)
result=bkgg[0]+str(sum)+"\n"
with open(r'c:\Users\Administrator\Documents\lesson13-1\sales_list.txt','r',encoding='UTF-8') as ftkt:
with open(r'c:\Users\Administrator\Desktop\test.txt','w',encoding='UTF-8') as ftkt:
ftkt.writelines(result)
\ 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