Commit 38a10095 by BellCodeEditor

save project

parent 645e5f2e
Showing with 2 additions and 6 deletions
......@@ -2,8 +2,4 @@ with open(r'c:\Users\连哥\Desktop\可恶的抢包仔.txt','r',encoding='utf-8'
a = file.readlines()
for i in a:
data = i.split()
#print(data[1:])
sum=0
for k in data:
sum = sum + int(k[1:])
suty = str(sum) +data[0]
\ No newline at end of file
print(data[1:])
\ 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