The insert method is used to insert an object into a list : Insert « List « Python Tutorial






numbers = [1, 2, 3, 5, 6, 7]
numbers.insert(3, 'four')
print numbers
7.13.Insert
7.13.1.The insert method is used to insert an object into a list
7.13.2.Insert item at index