Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Min and Max by gyahun_dash
def getiter(args):
return args if len(args) > 1 else args[0]
def min(*args, key=lambda x: x):
return sorted(getiter(args), key = key)[0]
def max(*args, key=lambda x: x):
return sorted(getiter(args), key = key, reverse = True)[0]
May 10, 2014
Comments: