Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First - Min and Max solution in Clear category for Min and Max by AQiccl135
def min(*args, **kwargs):
key = kwargs.get("key", None)
stuff = args[0] if len(args) == 1 else list(args)
return sorted(stuff, key=key)[0]
def max(*args, **kwargs):
key = kwargs.get("key", None)
stuff = args[0] if len(args) == 1 else list(args)
return sorted(stuff, key=key, reverse=True)[0]
April 7, 2015
Comments: