Implement a function that returns the minimal and the maximal value of a list (in this order).
def get_min_max(seq):
    max = seq[0]
    min = seq[0]
    for a in seq:
        if a > max: max = a
        if a < min: min = a
    return min,max

def get_min_max(seq):
    max = seq[0]
    min = seq[0]
    for a in seq:
        if a > max: max = a
        if a < min: min = a
    return min,max
