There is a list, for example,
a=[1,2,3,4]
I can use
a.append(some_value)
to add element at the end of list, and
a.insert(exact_position, some_value)
to insert element on any other position in list but not at the end as
a.insert(-1, 5)
will return [1,2,3,5,4]. So how to add an element to the end of list using list.insert(position, value)?