thislist = ["apple", "banana", "cherry"]
thislist.insert(1, "orange")
list.insert(index, element)
>>>
>>> a = [1, 2, 4]
>>> print a
[1, 2, 4]
>>> b = a[:2] + [3] + a[2:]
>>> print a
[1, 2, 4]
>>> print b
[1, 2, 3, 4]
list.insert(index, obj)
squares = [1, 4, 9, 16] sum = 0 for num in squares: sum += num print sum ## 30