Oct-13-2020, 07:10 PM
Your functions do not return a value. That is why you are getting back a function object instead of a number. Calling max(a, b, c) does not make find_max(a, b, c) return the result. Your function needs something like: return max(a, b, c)