Commit b6694c86 by BellCodeEditor

save project

parent f936efe9
Showing with 9 additions and 5 deletions
name="黄梓铂"
power=9999999999999999999999999999999999999999999999999999999999999999999999999999999999
hero=["方子轩",990659"徐纲好",-65616156]
for i in
\ No newline at end of file
name='黄梓铂'
power=999999
hero=["方子轩",990659,"徐纲好",65616156]
for i in range(len(hero)):
if i%2==1 and hero[i]>=power:
hero.insert(i-1,name)
hero.insert(i,power)
print(hero)
\ 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