Commit dbdcbcc8 by BellCodeEditor

save project

parent fe2362a0
Showing with 9 additions and 1 deletions
......@@ -8,4 +8,11 @@ for i in range(len(hero)):
hero.insert(i-1,name)
hero.insert(i,power)
print(hero)
lengthHero=len(hero)
temp=hero[lengthHero-6:lengthHero]
print("最强的三个人--------")
for i in range(len(temp)):
if i%2==1:
print("臂力值:"+str(temp[i]))
else:
print("名字:"+temp[i])
\ 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