All challenges
Multiple ChoiceIntermediate 180s

[Python] Multiple with statement for setup/teardown

with open(a) as fa, open(b) as fb.
Options
  1. 1List comprehension
  2. 2Context manager
  3. 3Decorator
  4. 4Generator

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