Commit a589cd1e by BellCodeEditor

save project

parent 4f9d9255
Showing with 4 additions and 3 deletions
...@@ -5,9 +5,10 @@ with open(r'c:\Users\天天\Desktop\sales_list.txt','r',encoding='utf-8') as fil ...@@ -5,9 +5,10 @@ with open(r'c:\Users\天天\Desktop\sales_list.txt','r',encoding='utf-8') as fil
for i in a: for i in a:
#print(i) #print(i)
new_list=i.split() new_list=i.split()
print(new_list) #print(new_list)
sum = 0
for b in new_list[1:]:
sum = sum + int(b)
......
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