Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Neat solution in Creative category for Min and Max by mindaugas.dadurkevicius
def min(*args, **kwargs):
if len(args) > 1:
args = [args]
return sorted(*args, key=kwargs.get("key", None), reverse=kwargs.get("reverse", False))[0]
def max(*args, **kwargs):
kwargs['reverse'] = True
return min(*args, **kwargs)
July 27, 2018
Comments: