All challenges
Multiple ChoiceIntermediate 30s

Name Mangling

Choose the best answer for: __attr name mangling
Options
  1. 1__attr makes an attribute truly private, blocked
  2. 2__attr is name-mangled to _Classname__attr
  3. 3__attr is a reserved word Python forbids as a name
  4. 4__attr prevents all outer access to the attribute

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