Commit 59ac9290 by BellCodeEditor

save project

parent 7205af97
Showing with 2 additions and 1 deletions
...@@ -8,5 +8,5 @@ for i in b: ...@@ -8,5 +8,5 @@ for i in b:
su=su+int(s) su=su+int(s)
r=data[0]+str(su)+'\n' r=data[0]+str(su)+'\n'
f.append(r) f.append(r)
with open(r'c:\Users\Administrator\Documents\lesson13-1\new_saleslist.txt','a',encoding='utf-8')as a: with open(r'c:\Users\Administrator\Documents\lesson13-5\new_saleslist.txt','a',encoding='utf-8')as a:
a.writelines(f) a.writelines(f)
\ 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