On Sun, Jul 31, 2016 at 2:19 AM, Steven D'Aprano <steve at pearwood.info> wrote: > I'm not sure how your version would work with NANs, and I haven't > bothered to try it to find out, but I like this version: Answer: py> min(10, float('nan')) 10