Commit aa413f4b by BellCodeEditor

save project

parent 088c76f7
Showing with 8 additions and 1 deletions
name=sb1 name='sb1'
power=4 power=4
l=['sb2',2,'sb3',3,'sb4',9] l=['sb2',2,'sb3',3,'sb4',9]
for i in range(len(l)):
if i%2==1 and l[i]>=power:
l.insert(i-1,name)
l.insert(i,power)
break
print(l)
print(l[-6:],'是SB大王')
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