Commit b7e0c328 by BellCodeEditor

save project

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