Discuss / Python / 我一直觉得汉诺塔反人类

我一直觉得汉诺塔反人类

Topic source

def findMinAndMax(L):

    if not L:

        return(None,None)

    max = L[0]

    min = L[0]

    for i in L:

        if i < min:

            min = i

        elif i > max:

            max = i

    return(min,max)

飞页快刀

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

何止反人类,盘子搬完宇宙都GG了


  • 1

Reply