def sortValues(a, b, c): # move the lowest value to "a" if a > b: a,b = b,a if a > c: a,c = c,a # move the next lowest value to "b" if b > c: b,c = c,b # output the reordered values print(a, b, c, sep = ", ") # sortValues ends here