在下标 i 的位置插入元素。
i
x
None
a = ["a", "c"] a.insert(1, "b") a.insert(0, "start") print(a)
['start', 'a', 'b', 'c']