QuestenaPractice that shows what to review next
Question 83

Which capability follows from Python functions being first-class objects?

  1. A function can be referenced only by its def name.
  2. A function cannot be used as an argument.
  3. It can be stored, passed, or returned.Correct answer
  4. Calling a function converts it into data.

Explanation

A function object can participate in ordinary object operations such as assignment, argument passing, and returning from another function. Restricting references to the original function name would deny that first-class behavior.

Continue with this test

Start practice
Question 83: Which capability follows from Python functions being… · Python Fundamentals · Questena