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