Commit 5d50e9d9 by BellCodeEditor

auto save

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