Commit bd43c73d by BellCodeEditor

save project

parent f15a2ed2
Showing with 1 additions and 1 deletions
......@@ -4,7 +4,7 @@ with open(r'c:\Users\EDZ\Desktop\aa.txt','r',encoding='utf-8') as aa:
for i in a:
data=i.split()
sum=0
for s in data:
for s in data[1:]:
sum=sum+int(s)
result=data[0]+str(sum)
print(result)
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