Discuss / Python / 没有标题发不了?

没有标题发不了?

Topic source

wxg122_858

#1 Created at ... [Delete] [Delete and Lock User]

def findMinAndMax(l) : if len(l) <= 0 : return (None,None) max = min = l.pop(0) for v in l : if v > max : max = v if v < min : min = v return (max,min)


  • 1

Reply