Multiple ChoiceBeginner 30s
Set Add vs Update
Choose the best answer for: set modification
Options
- 1update() only works on lists and never on sets
- 2add() adds one element, update() adds many
- 3add() and update() are identical in what they do
- 4add() takes an iterable and adds every element in it
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.