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-
for i in u:
f=i.split()
u=0
for o in f[1:]
for o in f[1:]:
u=u+int(o)
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