if len(L)==0: return(None,None) else: a=b=L[0] for x in L: if x<a: a=x elif x>b: b=x return(a,b)
Sign in to make a reply
咕咚国王的萝卜嘞