1In [1]: ls = [1,2,3]
2
3In [2]: ls.insert(0, "new")
4
5In [3]: ls
6Out[3]: ['new', 1, 2, 3]
1array.insert(index, value)
2
3x = [1,3,4]
4a = 2
5x.insert(1,a)
6
7print(x)
8
9#Will print: [1,2,3,4]
1# list.insert(before, value)
2list = ["a", "b"]
3list.insert(0, "c")
4print(list) # ['c', 'a', 'b']