Commit 7c5e37b9 by BellCodeEditor

auto save

parent 8909fdbc
Showing with 3 additions and 12 deletions
This source diff could not be displayed because it is too large. You can view the blob instead.
f=open('sales_list.txt','r',encoding='utf-8')
wlih open('sales_list.txt','r',encoding='utf-8')
a=f.readlines()
for i in a:
s=i.split()
......@@ -6,14 +6,4 @@ for i in a:
for sales in s[1:]:
b=b+int(sales)
c=s[0]+str(b)
print(c)
print(c)
\ 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