📜  python 附加到第一个索引 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:22.102000             🧑  作者: Mango

代码示例1
In [1]: ls = [1,2,3]

In [2]: ls.insert(0, "new")

In [3]: ls
Out[3]: ['new', 1, 2, 3]