Commit 9b2be693 by BellCodeEditor

save project

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