if L == []: return (None, None) min = max = L[0] for x in L: if x < min: min = x if x > max: max = x return (min, max)
Sign in to make a reply
优惠传送门s