Commit db506a26 by BellCodeEditor

save project

parent d1ddb189
Showing with 6 additions and 2 deletions
...@@ -2,6 +2,10 @@ with open(r'c:\Users\EDZ\Documents\lesson13-1\sales_list.txt','r',encoding='utf- ...@@ -2,6 +2,10 @@ with open(r'c:\Users\EDZ\Documents\lesson13-1\sales_list.txt','r',encoding='utf-
d=a.readlines() d=a.readlines()
for i in d: for i in d:
print(i) b=i.split()
b=split() print(b)
j=0
for s in b[1:]:
j=j+int(s)
print() print()
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