Commit 87d01d86 by BellCodeEditor

save project

parent 81680e48
Showing with 1 additions and 1 deletions
......@@ -7,7 +7,7 @@ with open(r'c:\Users\Administrator\Desktop\sales_list.txt','r',encoding = 'utf-8
for x in data[1:]:
s+=int(x)
Left.append(data[0]+str(s)+'\n')
with open(r'c:\Users\Administrator\Desktop\sale_list.txt','w',encoding = 'utf-8') as f:
with open(r'c:\Users\Administrator\Desktop\seg_list.txt','w',encoding = 'utf-8') as f:
f.writelines(Left)
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