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