Commit fe40cf7d by BellCodeEditor

save project

parent 78e3294a
Showing with 3 additions and 2 deletions
......@@ -3,6 +3,7 @@ with open(r"c:\Users\丽达玛酷12号\Documents\lesson13-1\sales_list.txt","r",
for i in a:
a=i.split()
sum=0
snm=0
for sls in a[1:]:
sum=sum+int(sls)
print(sum)
\ No newline at end of file
print(sum)
\ No newline at end of file
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