Commit 80fa1e5f by BellCodeEditor

save project

parent 692e1580
Showing with 2 additions and 2 deletions
......@@ -6,4 +6,4 @@ with open(r"C:\Users\A1\Desktop\sales_list - 副本.txt","r",encoding="utf-8")as
for sales in data[1:]:
sum=sum+int(sales)
result=data[0]+str(sum)
print(data[1:])
\ No newline at end of file
print(result)
\ 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