Multiple ChoiceBeginner 30s
filter Function
Choose the best answer for: filter()
Options
- 1filter modifies its iterable in place and returns nothing
- 2filter(func, iterable) keeps elements where func returns True
- 3filter returns a list rather than a lazy iterator object
- 4filter is the same as map applied with a boolean function
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.