QuestenaПрактика, после которой понятно, что повторить
Вопрос 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.Правильный ответ
  4. Calling a function converts it into data.

Объяснение

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.

Продолжить работу с тестом

Начать тренировку
Вопрос 83: Which capability follows from Python functions being… · Python Fundamentals · Questena