All challenges
Multiple ChoiceIntermediate 30s

Function Default Args

Choose the best answer for: mutable default args
Options
  1. 1Mutable defaults are safe to use
  2. 2Default args are evaluated at each call
  3. 3Default args are evaluated once at definition
  4. 4Defaults are deep-copied each call

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