Discuss / Python / My answer:

My answer:

Topic source

HellPlay

#1 Created at ... [Delete] [Delete and Lock User]
    if not L:
        return (None, None)
    min,max = L[0],L[0]
    for l in L:
        if l> max:
            max = l
        if l< min:
            min = l
    return (min,max)

  • 1

Reply