Commit 0ae4c3f0 by BellCodeEditor

save project

parent ec712e2e
Showing with 3 additions and 3 deletions
name=input('刘强')
power=int(input('60'))
hero=['董文轩',100,'郭强',100,'赵云',999]
name=input("名字?")
power=int(input("大小?"))
hero=['董文轩',0,'郭强',100,'赵云',999]
for i in range(len(hero)):
if i%2==1 and hero[1]>=power:
hero.insert(i-1,name)
......
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