Commit 2c649771 by BellCodeEditor

save project

parent e58160fc
Showing with 1 additions and 1 deletions
...@@ -2,7 +2,7 @@ with open(r"c:\Users\bellcode\Documents\lesson13-1\sales_list.txt","r",encoding= ...@@ -2,7 +2,7 @@ with open(r"c:\Users\bellcode\Documents\lesson13-1\sales_list.txt","r",encoding=
# print(bjdfkbhjkfdhvkjfd.readlines()) # print(bjdfkbhjkfdhvkjfd.readlines())
sb=bjdfkbhjkfdhvkjfd.readlines() sb=bjdfkbhjkfdhvkjfd.readlines()
for i in sb: for i in sb:
sd=i.split(" ") sd=i.split()
sum=0 sum=0
for sales in sd[1:]: for sales in sd[1:]:
sum+=int(sales) sum+=int(sales)
......
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