how to add an element specific index in list in python code example Example: how to add an item to a list in python myList = [1, 2, 3] myList.append(4)