wk.3.1.1

Provide the type and value of the expressions being evaluated, Assume the following definitions have been made

def a(x, y, z):
    if x:
        return y
    else:
        return z
def b(y,z):
    return a(y>z, y, z) 
  1. >>> a(False, 2, 3)
  2. >>> b(3,2)
  3. >>> a(3>2, a, b)
  4. >>> b(a,b)

Page Source