Search a sequence for its minimum and stop as soon as the lowest possible value is found

Paul Rubin no.email at nospam.invalid
Fri Jan 6 20:34:09 EST 2017


Peter Otten <__peter__ at web.de> writes:
> How would you implement stopmin()?

Use itertools.takewhile



More information about the Python-list mailing list