if L==[]: return (None,None) else: max=L[0] min=L[0] for n in L: if n >=max: max=n if n <=min: min=n return (min,max)
Sign in to make a reply
毛球的毛