ShriRam Changed status to publish August 18, 2023
l =[]
if not l:
print(“List is empty”)
a = []
n = len(a)
if (n > 0):
print(“Non Empty”)
else:
print(“Empty List”)
ShriRam Changed status to publish August 18, 2023
l =[]
if not l:
print(“List is empty”)
a = []
n = len(a)
if (n > 0):
print(“Non Empty”)
else:
print(“Empty List”)