Run
x = ["apple", "", "cherry", "", ""] output = any(x) print(f'x : {x}') print(f'any(x) : {output}')
Output