if len(L)==0: return (None,None)else: xmin = L[0] xmax = L[0]for x in L: if x < xmin: xmin = x elif x > xmax: xmax = x else: passreturn (xmin, xmax)
Sign in to make a reply
AI__Al