if not L: return (None, None) min,max = L[0],L[0] for l in L: if l> max: max = l if l< min: min = l return (min,max)
Sign in to make a reply
HellPlay