how to create empty list python code example
Example 1: empty list in python
# Python program to declare
# empty list
# list is declared
a = []
Example 2: python empty list
if not a:
print("List is empty")
Example 3: declare an empty list in python
num = list()