list.insert(index, obj)
将指定对象插入列表的指定位置。
Args:
lst = [10, 20, 30] lst.insert(-1, "Hello") print(lst) # [10, 20, 'Hello', 30]