# Equivalent to: # def all(iterable): # for element in iterable: # if not element: # return False # return True print all(['A', '', 'B'])