Commit b038f8dc by BellCodeEditor

save project

parent 2da271e1
Showing with 2 additions and 2 deletions
...@@ -4,6 +4,6 @@ with open(r'c:\Users\makcoo\Documents\lesson13-1\sales_list.txt','r',encoding='u ...@@ -4,6 +4,6 @@ with open(r'c:\Users\makcoo\Documents\lesson13-1\sales_list.txt','r',encoding='u
for i in a: for i in a:
z=i.split() z=i.split()
for s in z[1:]: for s in z[1:]:
x=+int(s) x+=int(s)
int(x) print(x)
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