Commit e5505bdd by BellCodeEditor

save project

parent 53182cc5
Showing with 3 additions and 2 deletions
......@@ -6,6 +6,6 @@ hero=['彬彬',30,'阿伟',37,'穿山甲'',52,'杰哥',89,'华强',98]
# 自动吃屎
for i inrange(len(hero)):
if i%2==1 and hero[i]>power:
hero.insert(1-1,name)
hero.insert(1,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