Commit e1db80bc by BellCodeEditor

save project

parent 1b14c672
Showing with 11 additions and 11 deletions
b=['袁术','夏侯','曹操','关羽'] name=input('你叫啥名啊?')
b.remove('关羽') power=int(input('你臂力多少啊?'))
print(b) herp=['赵一',30,'丁二',37,'孙五',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(i,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