Commit 009ca3d3 by BellCodeEditor

save project

parent db506a26
Showing with 3 additions and 3 deletions
...@@ -3,9 +3,8 @@ with open(r'c:\Users\EDZ\Documents\lesson13-1\sales_list.txt','r',encoding='utf- ...@@ -3,9 +3,8 @@ with open(r'c:\Users\EDZ\Documents\lesson13-1\sales_list.txt','r',encoding='utf-
for i in d: for i in d:
b=i.split() b=i.split()
print(b) #print(b)
j=0 j=0
for s in b[1:]: for s in b[1:]:
j=j+int(s) j=j+int(s)
print() print(b[0]+str(j))
\ No newline at end of file
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