Discuss / Python / 支持

支持

Topic source
    max = min = L[0] if len(L) else None
    for l in L:
        min = l if l < min else min
        max = l if l > max else max
    return (min,max)

  • 1

Reply