Commit db6ec6fe by BellCodeEditor

save project

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