#try to avoid input function
a = [1,2,3,4,56]
b = []
if len(a) == 0:
print("list is empty")
else:
print("list is not empty.")
if len(b) == 0:
print("list is empty")
else:
print("loist is not empty.")
Click the run button. Try to avoid input() function.