Commit fe72fc33 by BellCodeEditor

save project

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