Commit 02bc5d69 by BellCodeEditor

save project

parent 1603638f
Showing with 7 additions and 2 deletions
......@@ -3,4 +3,9 @@ with open(r'c:\Users\admin\Desktop\hhhhhhhh.txt','r',encoding='utf-8') as file:
for i in a:
#print(type(i))
i=i.split()
print(i[1:])
\ No newline at end of file
#print(i[1:])
sun=0
for seles in i[1:]:
sun=sun+int(seles)
hhh=i[0]+str(sun)
print(hhh)
\ 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