1append(): append the object to the end of the list.
2insert(): inserts the object before the given index.
3extend(): extends the list by appending elements from the iterable.
1# list.insert(before, value)
2list = ["a", "b"]
3list.insert(1, "c")
4print(list) # ['a', 'c', 'b']
1# to add an item to a list
2list.append(item)
3
4# to insert into a list
5list.insert(int, element)
1>>> a = [1, 2, 4]
2>>> print a
3[1, 2, 4]
4
5>>> print a.insert(2, 3)
6None
7
8>>> print a
9[1, 2, 3, 4]
10
11>>> b = a.insert(3, 6)
12>>> print b
13None
14
15>>> print a
16[1, 2, 3, 6, 4]
17