All challenges
Multiple ChoiceBeginner 30s

any and all

Choose the best answer for: any() and all()
Options
  1. 1any() is the same as all() and requires every element truthy
  2. 2any() returns True if at least one element is truthy
  3. 3any() is a list method and cannot accept a generator
  4. 4any() checks all elements and returns True only if all are truthy

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