Write a Python program to check a list is empty or not


Topic: Write a Python program to check a list is empty or not

Solution

l = []
if not l:
print("List is empty")



List all Python Programs