Commit b384113b by BellCodeEditor

save project

parent 1effe331
Showing with 4 additions and 3 deletions
......@@ -6,7 +6,8 @@ for i in data:
sum =0
for j in b[1:]:
sum = sum+int(j)
c = b[0]+str(sum)+'\n'
c = b[0]+str(sum)+"\n"
o.append(c)
with open(r"c:\Users\hp\Desktop\666.txt","a",encoding="utf-8")as f:
f.writelines(o)
\ No newline at end of file
f.writelines(o)
\ 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