Commit 162a9501 by BellCodeEditor

save project

parent 7919ff5d
Showing with 9 additions and 0 deletions
name=input("你叫什么名字")
power=input("你的臂力多少啊")
for i in rang(len(hero)):
if i%2==1 and her[i]>=power:
hero.insert(i-1,name)
hero.insert(i,power)
break
print(hero[-6:])
\ 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