For each of the following functions, specify the type of the output.
- Function Types
- def a(x): return x + 1
- def b(x): return x + 1.0
- def c(x, y): // (Assume that x and y are ints or floats.) return x + y
- def d(x,y): return x > y
- def e(x, y, z): return x >= y and x <= z
- def f(x, y): x + y - 2
- Transcript
- a(6)
- a(-5.3)
- a(a(a(6)))
- c(a(1),b(1))
- d(10, 11.1)
- e(a(3),b(4),c(3, 4))
- e