python list append arguments code example Example 1: add item to list python list.append(item) Example 2: append python it=[] for i in range(10): it.append(i)