Commit d32b95f9 by BellCodeEditor

auto save

parent b2a04a51
Showing with 2 additions and 2 deletions
with open(r'c:\Users\Administrator\Documents\lesson13-1\sales_list.txt','r',encoding='utf-8') as file: with open(r'c:\Users\Administrator\Documents\lesson13-1\sales_list.txt','r',encoding='utf-8') as file:
a=file.readlines() a=file.radlienes()
final_sum=[] final_sum=[]
for i in a: for i in a:
qwe=i.split() qwe=i.split()
#print(qwe[1:])
a=0 a=0
for e in qwe[1:]: for e in qwe[1:]:
a=a+int(e) a=a+int(e)
......
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