Добавить элементы в список Python с использованием метода insert ()
# Python program to demonstrate
# Addition of elements in a List
# Creating a List
List = [1,2,3,4]
print("Initial List: ")
print(List)
# Addition of Element at
# specific Position
# (using Insert Method)
List.insert(0, 0)
List.insert(5, 'Softhunt.net')
print("\nList after performing Insert Operation: ")
print(List)
Outrageous Ostrich