Search a sequence for its minimum and stop as soon as the lowest possible value is found
Paul Rubin
no.email at nospam.invalid
Sun Jan 8 14:08:43 EST 2017
Peter Otten <__peter__ at web.de> writes:
> return min(take_until(), key=firstitem)[1]
Actually, key=abs should work. I realized that after posting.
More information about the Python-list
mailing list