Commit dee8c2f7 by BellCodeEditor

save project

parent 695ca819
Showing with 2 additions and 3 deletions
sum=0
b=[]
with open(r'c:\Users\EDZ\Documents\lesson13-1\sales_list.txt',"r",encoding='utf-8') as file:
a=file.readlines()
for i in a:
......@@ -11,4 +10,4 @@ for i in a:
print(result)
b.append(result)
with open(r'c:\Users\EDZ\Desktop\test.txt',"a",encoding='utf-8') as c:
c.writelines(b)
\ No newline at end of file
c.brint()
\ 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