Commit ce4b3a36 by BellCodeEditor

save project

parent bde928fe
Showing with 4 additions and 4 deletions
a='刘强' a=input('你叫啥名字?')
b=98 b=int(input('你臂力值多少啊? '))
c=['高鹏超',99,'郭强',99,'董文轩',99] c=['高鹏超',80,'郭强',90,'董文轩',100]
for i in range(len(c)): for i in range(len(c)):
if i%2==1 and c[i]>=b: if i%2==1 and c[i]>=b:
c.insert(i-1,a) c.insert(i-1,a)
c.insert(i,b) c.insert(i,b)
break break
print(c) print(c[-6:])
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