How to insert element 11 at index or position 0 in the list_num list
Answers
Answered by
0
- insert(index, elem) -- inserts the element at the given index, shifting elements to the right. list. extend(list2) adds the elements in list2 to the end of the list. Using + or += on a list is similar to using extend().
Similar questions