if L==[]: return (None,None) else: t1=L[0] t2=L[0] for i in L: if i<t1: t1=i if i>t2: t2=i return (t1,t2)
Sign in to make a reply
射手再见蓝天575