contents.insert(index, value) code example
Example: add element to list python at index
thislist = ["apple", "banana", "cherry"]
thislist.insert(1, "orange")
thislist = ["apple", "banana", "cherry"]
thislist.insert(1, "orange")