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