Commit 217ecc13 by BellCodeEditor

save project

parent a5193f0c
Showing with 443 additions and 0 deletions
......@@ -2,4 +2,447 @@ with open(r'c:\Users\yaoji\Documents\lesson13-1\sales_list.txt','r',encoding='ut
a=file.readlines()
for i in a:
data=i.split()
for sales in data[1:]:
sum+=int(sales)
result=
print(data[1:])
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