Commit 702bc8ed by BellCodeEditor

save project

parent b7e0c328
Showing with 1 additions and 1 deletions
...@@ -4,7 +4,7 @@ with open(r'c:\Users\EDZ\Documents\lesson13-1\sales_list.txt','r',encoding='utf- ...@@ -4,7 +4,7 @@ with open(r'c:\Users\EDZ\Documents\lesson13-1\sales_list.txt','r',encoding='utf-
for i in u: for i in u:
f=i.split() f=i.split()
u=0 u=0
for o in f[1:] for o in f[1:]:
u=u+int(o) u=u+int(o)
print(f[0]+str(u)) print(f[0]+str(u))
......
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