def ranger(a, b, c): if a > b : a, b = b, a if b > c: b, c = c, b return a, b, c