Commit f15cc8ca by BellCodeEditor

save project

parent 535c0e07
Showing with 1 additions and 1 deletions
......@@ -8,7 +8,7 @@ for i in range(len(list_hero)): #teacher:此处代码无法插入比猴七大的
list_hero.insert(i,power)
break
#+++++++++++++++++修复无法插入比猴七大的数据++++++++++++++
print("i=",i,"length of list=",len(list_hero))
print("index=",i,"length of list=",len(list_hero))
if i >= len(list_hero)-1:
list_hero.append(name)
list_hero.append(power)
......
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