I have a list comprehension with a lambda like so, where i add the word to the list if its length is more than one character:
dict['Company {}'.format(counter)]=[lambda x: len(x)>1 for x in sent[0].split()]
But it outputs a function instead of a list:
Company 13 [<function get_maps1.<locals>.<listcomp>.<lambda> at 0x000001F18E4191E0>, <function get_maps1.<locals>.<listcomp>.<lambda> at 0x000001F18E419268>, <function get_maps1.<locals>.<listcomp>.<lambda> at 0x000001F18E4192F0>]
How can i print its contents?
xwill refer to the lastxin the loop, but that is another matter...