Commit 384336bb by BellCodeEditor

save project

parent 370d68ed
Showing with 9 additions and 0 deletions
nema=input("你的名字叫什么")
p=int(input("你的臂力值是什么"))
hero=["甲",23,"乙",34,"丁",56,"一",78,"二",90]
for i in range(len(hero)):
if i%2==1 and hero[i]>=p:
hero.insert(i-1,nema)
hero.insert(i,p)
break
print(hero[-6:])
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