Discuss / Python / practice

practice

Topic source
def findMinAndMax(L):    min = L[0]    max = min    for item in L:        if min > item:            min = item        if max < item:            max = item    return min, max

  • 1

Reply