Commit 4a19a554 by BellCodeEditor

save project

parent a87583a9
Showing with 0 additions and 1 deletions
...@@ -2,7 +2,6 @@ with open(r'c:\Users\玛酷机器人编程中心\Documents\lesson13_2\sales_list ...@@ -2,7 +2,6 @@ with open(r'c:\Users\玛酷机器人编程中心\Documents\lesson13_2\sales_list
a=file.readlines() a=file.readlines()
for i in a: for i in a:
data=i.split() data=i.split()
print(data[1:])
sum=0 sum=0
for s in data[1:]: for s in data[1:]:
sum+=int(s) sum+=int(s)
......
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