how to append value in list using index in python code example Example: add item to list python list.append(item)