list = range(5) # create a list of 5 elements, from 0 to 4 list.insert(2, 9) # change the 3rd element 9 and move the rest forward # (Indicies start from 0, so the index of 2 refers to the 3rd element)