• most numbers. what a difference

Question related to mission The Most Numbers

 

here two different solutions. for me they look same but first fail and second pass

WHY!!!!!!

def checkio(*args):
    if args:
        return max(*args) - min(*args)
    else:
        return 0

def checkio(*args):
        return 0 if len(args)==0 else (max(args)-min(args))