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