initialize empty python list code example Example 1: initialize empty list python l = [] # l is the empty list Example 2: declare an empty list in python num = list()