I am still confused about what first-class functions are. If I understand correctly, first-class functions should use one function as an object. Is
first-class functions
This is a good example to illustrate Python first-class functions in their classical form: a variable holding a lambda function:
twice = lambda x: 2 * x d = twice(5) print(d) # 10