python how to append values in list code example Example: how to add values to a list in python myList = [] myList.append(value_to_add)