Commit fe72fc33 by BellCodeEditor

save project

parent efda66e8
Showing with 25 additions and 13 deletions
q=["刘备","关羽","张飞"] a=input('你叫啥名字')
q1=["刘备",161,9.1] b=int(input('你臂力值多少'))
q2=["关羽",160,8.5] c=['赵一',30,'丁二',37,'孙五',52,'王猛',89,'周亮',98,'张宇',100]
q3=["张飞",166,8.3] for i in range(len(c)):
q[0]="关羽" if i%2==1 and c[i]>=b:
q[1]="刘备" c.insert(i-1,a)
print(q) c.insert(i,b)
a=['华雄'] break
b=['袁术','夏侯淳','曹操','关羽'] print(c)
b.pop(3)
print(b)
a.insert(1,'关羽')
print(a)
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