All challenges
Multiple ChoiceIntermediate 30s

else Clause in try

Choose the best answer for: try/else
Options
  1. 1else runs only if no exception occurred
  2. 2else catches exceptions whenever the try raises
  3. 3else replaces finally and always runs on exit
  4. 4else always runs after the try regardless

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