Commit 6a87bd07 by BellCodeEditor

save project

parent 0ede55f8
Showing with 1 additions and 1 deletions
...@@ -6,5 +6,5 @@ with open(r"c:\Users\Administrator\Desktop\sales_list.txt","r",encoding="utf-8") ...@@ -6,5 +6,5 @@ with open(r"c:\Users\Administrator\Desktop\sales_list.txt","r",encoding="utf-8")
# print(na[1:]) # print(na[1:])
sum=0 sum=0
for aaa in na[1:]: for aaa in na[1:]:
sum=sum+aaa sum=sum+int(aaa)
print(aaa) print(aaa)
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