define empty list code example
Example 1: empty list in python
# Python program to declare
# empty list
# list is declared
a = []
Example 2: declare an empty list in python
num = list()
# Python program to declare
# empty list
# list is declared
a = []
num = list()