add a lists elements code example Example 1: add item to list python list.append(item) Example 2: how to add element in list list = [] list.append(var)