Commit 8dc18132 by BellCodeEditor

save project

parent b271a16a
Showing with 2 additions and 1 deletions
......@@ -9,5 +9,5 @@ for i in a:
fb=fb+int(sales)
fbi=hb[0]+str(fb)+'\n'
nb.append(fbi)
with open(r"C:\Users\Administrator\Desktop\sales_list.txt",'a',encoding='utf-8') as sb:
with open(r"C:\Users\Administrator\Desktop\sales_list.txt",'w',encoding='utf-8') as sb:
sb.writelines(nb)
\ 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