Commit 6094a6b1 by BellCodeEditor

auto save

parent 84869670
Showing with 1 additions and 0 deletions
...@@ -10,6 +10,7 @@ for i in a: ...@@ -10,6 +10,7 @@ for i in a:
sum=0 sum=0
for s in data[1:]: for s in data[1:]:
sum+=int(s) sum+=int(s)
#print(sum)
new_data=data[0]+str(sum)+'\n' new_data=data[0]+str(sum)+'\n'
xxx.append(new_data) xxx.append(new_data)
with open(r'C:\Users\EV3-3\Desktop\xxx.txt','a',encoding='utf-8')as file: with open(r'C:\Users\EV3-3\Desktop\xxx.txt','a',encoding='utf-8')as 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