All challenges
Multiple ChoiceIntermediate 30s

Decorator Basics

Choose the best answer for: decorators
Options
  1. 1Decorators are only for logging and timing callable functions
  2. 2Decorators replace the wrapped function with a simplified copy
  3. 3A decorator is a function that wraps another function
  4. 4Decorators are classes only and cannot be plain functions

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle