Commit 5da76f76 by BellCodeEditor

save project

parent 4ff98ac4
Showing with 4 additions and 2 deletions
......@@ -6,4 +6,6 @@ with open(r'c:\Users\Administrator\Desktop\奥特曼格斗进化0.lnk','r',encod
for sales in data[i:]:
sum=sum+int(sales)
result = data[0]+str(sum)
print(result)
\ No newline at end of file
final_sum.append(result)
with open(r'c:\Users\Administrator\Desktop\奥特曼格斗进化0.lnk','r',encoding='utf-8') as file:
file.writeline(final_sum)
\ 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