All challenges
Multiple ChoiceIntermediate 30s

Mutable Default Args

Choose the best answer for: default argument pitfall
Options
  1. 1Defaults are always safe
  2. 2Mutable defaults cause syntax errors
  3. 3Default args are recreated each call
  4. 4Default mutable args persist across calls

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