Commit 623a562c by BellCodeEditor

save project

parent 9721af3b
Showing with 1 additions and 1 deletions
......@@ -3,7 +3,7 @@ with open(r'C:\Users\Admin\Documents\lesson13-1\sales_list.txt','r',encoding='ut
for i in a:
data=i.split()
s=0
for sales in date[1:]
for sales in data[1:]
s=s+int(sales)
result = data[0]+str(s)
peint(result)
......
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