Multiple ChoiceIntermediate 30s
collections.defaultdict
Choose the best answer for: defaultdict
Options
- 1defaultdict is immutable and rejects assignment of new keys
- 2defaultdict provides default values for missing keys
- 3defaultdict raises KeyError for any key that is missing
- 4defaultdict is a list subclass providing indexed defaults
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.