All challenges
Multiple ChoiceIntermediate 30s

finally Clause

Choose the best answer for: finally
Options
  1. 1finally replaces the except block whenever one is present
  2. 2finally only runs when no exception occurred in the try
  3. 3finally catches exceptions and suppresses them silently
  4. 4finally always executes, even if exception or return

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