Multiple ChoiceBeginner 30s
Dict Pop
Choose the best answer for: dict.pop()
Options
- 1pop() removes a random item
- 2pop() only works on lists
- 3pop(key) removes and returns the value
- 4pop(key) raises no error if missing
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.