Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Easy and clear soultion solution in Clear category for Min and Max by piotr.sawicki
def min(*args, key=None):
if len(args) == 1: args = args[0]
return sorted(args, key=key, reverse=False)[0]
def max(*args, key=None):
if len(args) == 1:args = args[0]
return sorted(args, key=key, reverse=True)[0]
Oct. 29, 2017