emptyList = [1] length = len(emptyList) if length == 0 and all(emptyList): print("This list is empty now.") else: print("This list is not empty. The values of list:") for x in emptyList: print(x)