All challenges
Multiple ChoiceBeginner 30s

functools.reduce

Choose the best answer for: reduce()
Options
  1. 1reduce is the same operation as map over an iterable
  2. 2reduce is a built-in needing no import from functools
  3. 3reduce returns a list of all intermediate results
  4. 4reduce(fn, iterable) cumulatively applies fn

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.

Play this in a 3-minute battle