Correct answer is : B
filter(function, iterable) - Construct an iterator from those elements of iterable for which function returns true
All the elements of p will be input to bool as bool(23), bool(2), bool(0) and if it is True it prints the element.
For thes values 23, 2, 'welcome' , bool()will be True
Comment here: