@@ -0,0 +1,570 @@
+# Define a procedure, median, that takes three%0A# numbers as its inputs, and returns the median%0A# of the three numbers.%0A%0A# Make sure your procedure has a return statement.%0A%0Adef bigger(a,b):%0A    if a %3E b:%0A        return a%0A    else:%0A        return b%0A%0Adef biggest(a,b,c):%0A    return bigger(a,bigger(b,c))%0A%0Adef median(a,b,c):%0A    maximum = biggest(a,b,c)%0A    if maximum == a:%0A        return bigger(b,c)%0A    if maximum == b:%0A        return bigger(a,c)%0A    else:%0A        return bigger(a,b)%0A%0Aprint(median(1,2,3))%0A#%3E%3E%3E 2%0A%0Aprint(median(9,3,6))%0A#%3E%3E%3E 6%0A%0Aprint(median(7,8,7))%0A#%3E%3E%3E 7%0A

add median of 3 numbers