There is a simple difference between append and insert in python list,
append method can be use for adding new element in the list only but by using insert we can add as well as can modify already occupied position.
append method takes one argument (which you have to insert in the list) while insert method takes two elements (first will be the position of element and second will the element itself), Below are examples for both methods use:
Use of Append:
list = [1,2,3,4,5]
list.append(6)
print(list) # [1,2,3,4,5,6]
Use of Insert:
list = [1,2,3,4,5]
list.insert(5, 10) # [1,2,3,4,5,10]
list.insert(1, 10) # [1,10,3,4,5]
You can insert element at any position, but till will be store just after the last element position. Reason behind this logic is list is store data in ordered format.
list.insert(100, 50) # [1,2,3,4,5,10]
Hope this helps!!
If you need to know more about Python, join Python online course today.
Thanks!