Commit af5e2562 by BellCodeEditor

save project

parent 0cc37ad4
Showing with 11 additions and 0 deletions
with open(r"C:\\Users\\Administrator\\Desktop\\test13.txt",'r',encoding='utf-8') as file:
a=file.readlines()
d=0
for i in a:
q=i.split()
#print(q[1:])
for w in q[1:]:
d=d+int(w)
d=str
print(q[0]+d)
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