Commit b87bd788 by BellCodeEditor

save project

parent d1eef499
Showing with 2 additions and 0 deletions
...@@ -9,5 +9,6 @@ for i in a: ...@@ -9,5 +9,6 @@ for i in a:
sum=sum+int(c) sum=sum+int(c)
d=b[0]+str(sum)+"\n" d=b[0]+str(sum)+"\n"
e.append(d) e.append(d)
print(e)
with open (r'c:\Users\EDY\Documents\lesson13_2\sales.txt','a',encoding='utf-8')as homo: with open (r'c:\Users\EDY\Documents\lesson13_2\sales.txt','a',encoding='utf-8')as homo:
homo.writelines(e) homo.writelines(e)
\ 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