I am new to Python and just really interested in lambda expression. The problem is to find one and only one target element from the list of elements with lambda filter. Theoretically, when the target element is found, there is no point in continuing anymore.
With a for looppretty simple breakloop, but what about using lambda? Is it really possible? I am searching from Google but have not found the expected solution
source
share