Discuss / Python / 啊,分享一下

啊,分享一下

Topic source

在下是个S

#1 Created at ... [Delete] [Delete and Lock User]
ma=0mi=L[0]if len(L)<=0:    return (None,None)else:    for x in L:        if x>ma:            ma=x        if x<mi:            mi=x    return mi,ma

  • 1

Reply