If type(is_even) really says 'function', what stops you from giving it a second name or passing it into another function like any other value?
Short drills on what this video just taught. Write the code, run the checks, and reveal the answer only if you are stuck.
A function is an object, so it has a type just like a number or a string does. The function double is given above. Ask Python for its type and assign the answer to type_of_double.
Hint: the built-in type() returns an object's type.
def double(n):
return n * 2