Commit eeb70061 by BellCodeEditor

save project

parent d00a2d9b
Showing with 10 additions and 11 deletions
b=['袁术','夏侯惇','曹操','关羽'] name=input('你叫啥名')
b.remove('关羽') power=int(input('你臂力多少'))
print(b) hero=['赵一',30,'丁二','孙武',52,'王猛',89,'周亮',98,'张宇',100]
a=['华雄'] for i in range(len(hero))
a.insert(1,'关羽') if i%2==1 and hero[i]>=power:
print(a) hero.insert(i-1,name)
a=['华雄'] hero.insert(1,power)
c=['颜良','文丑'] break
a.extend(c) print(hero[-6:])
print(a) \ 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