Contact: aviboots(AT)netvision.net.il
39,919 questions
51,852 answers
573 users
lst = ['python', 'php', '', 'java'] b = any(len(item) == 0 for item in lst) print(b) ''' run: True '''
lst = ['python', 'php', '', 'java'] if '' in lst: print("yes") else: print("no") ''' run: yes '''