Commit bed05214 by BellCodeEditor

save project

parent 7af387d3
Showing with 1 additions and 1 deletions
...@@ -7,7 +7,7 @@ for i in a: ...@@ -7,7 +7,7 @@ for i in a:
b = 0 b = 0
for x in c: for x in c:
b += int(x) b += int(x)
e = d[0],b,"\n" e = d[0]+str(b)+"\n"
y.append(e) y.append(e)
with open("sales_list.txt","w",encoding="utf-8") as f: with open("sales_list.txt","w",encoding="utf-8") as f:
f.writelines(y) f.writelines(y)
......
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