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