Commit 7aa82c41 by BellCodeEditor

save project

parent 35ac359f
Showing with 2 additions and 2 deletions
...@@ -13,4 +13,4 @@ for i in range(len(hero)): ...@@ -13,4 +13,4 @@ for i in range(len(hero)):
hero.insert(i,power) hero.insert(i,power)
break break
# 打印出臂力最强的三个人和他们对应的臂力值: # 打印出臂力最强的三个人和他们对应的臂力值:
print(hero[5:6]) print(hero[-6:len(hero)])
\ No newline at end of file \ 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