if len(L)==0: return (None, None) m = L[0] n = L[0] for x in L: if x < m: m = x if x > n: n = x return (m, n)
Sign in to make a reply
蜜蜂-Leo