Commit a2e098fa by BellCodeEditor

save project

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