Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Second solution in Clear category for The Most Numbers by jollyca
def checkio(*args):
""" Instead of writing:
if len(args) == 0:
return 0
else
return max(args) - min(args)
Let's do:
"""
return len(args) and (max(args) - min(args))
#These "asserts" using only for self-checking and not necessary for auto-testing
May 18, 2014
Comments: