Multiple ChoiceIntermediate 30s
Dunder getitem (MCQ)
Choose the best answer for: __getitem__
Options
- 1__getitem__ replaces __init__
- 2__getitem__ is for attribute access
- 3__getitem__ enables obj[key] syntax
- 4__getitem__ is only for lists
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.