Commit 61a3ccf7 by BellCodeEditor

auto save

parent 3763df7e
Showing with 1 additions and 1 deletions
......@@ -6,7 +6,7 @@ for i in ij:
sub=0
for lanqiu in kun[1:]:
sub=sub+int(lanqiu)
j=kun[0]+str(sub)
j=kun[0]+str(sub)+'\n'
jiji.append(j)
with open (r'c:\Users\55428\Documents\lesson13-4\sales_list.txt','a',encoding='utf-8')as ji:
ji.writelines(jiji)
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