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