Commit d35c5eea by BellCodeEditor

auto save

parent f1a0413a
Showing with 7 additions and 3 deletions
...@@ -4,5 +4,9 @@ with open(r'c:\Users\Administrator\Documents\lesson13-1\sales_list.txtwith ,'r', ...@@ -4,5 +4,9 @@ with open(r'c:\Users\Administrator\Documents\lesson13-1\sales_list.txtwith ,'r',
for i in a: for i in a:
deta = i split() deta = i split()
print(deta[l:]) sum=0
print(i) for sales in data[i]:
\ No newline at end of file sum = sum+int(sales)
520=date[0]+str(sum)
print(520)
\ No newline at end of file
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