Commit b9283815 by BellCodeEditor

save project

parent d1e0c2a2
Showing with 3 additions and 2 deletions
......@@ -8,4 +8,5 @@ with open(r'c:\Users\Administrator\Desktop\sales_list.txt','r',encoding='utf-8')
sum=0
for sales in date[1:]:
sum=sum+int(sales)
print(sum)
\ No newline at end of file
result=date[0]+str(sum)
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