defining an empty list in python code example
Example 1: empty list in python
# Python program to declare
# empty list
# list is declared
a = []
Example 2: initialize empty list python
l = [] # l is the empty list
# Python program to declare
# empty list
# list is declared
a = []
l = [] # l is the empty list