Commit ca73d886 by BellCodeEditor

save project

parent 791b90dc
Showing with 1 additions and 1 deletions
......@@ -8,6 +8,6 @@ with open(r"c:\Users\Administrator\Desktop\sales_list.txt","r",encoding="utf-8")
sum=sum+int(aaa)
sa=aaa[0]+str(sum)+"\n"
w.append(sa)
with open(r"c:\Users\Administrator\Desktop\new_sales_list.txt","r",encoding="utf-8") as Q:
with open(r"c:\Users\Administrator\Desktop\sales_list.txt","w",encoding="utf-8") as Q:
Q.writelines(w)
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