how to append something in a list to a new list with a index code example
Example 1: add item to list python
list.append(item)
Example 2: how to add values to a list in python
myList = []
myList.append(value_to_add)
list.append(item)
myList = []
myList.append(value_to_add)