Commit eba49236 by BellCodeEditor

save project

parent 55511b44
Showing with 7 additions and 2 deletions
......@@ -4,4 +4,9 @@ with open(r"C:\Users\A23\Desktop\wer.txt","r",encoding="utf-8")as asd:
for i in a:
b=i.split()
print(b[0:])
\ No newline at end of file
#print(b[1:])
s=0
for d in b[1:]:
s=s+int(d)
x=b[0]+str(s)
print(x)
\ 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