CBSE Class 12 Computer Science Question 12 of 30

Exception Handling — Question 3

Back to all questions
3
Question

Question 3

Which of the following keywords are not specific to exception handling?

  1. try
  2. except
  3. else
  4. finally
Answer

else

Reason — The 'else' keyword in Python is not specific to exception handling but rather plays a role in conditional statements and control flow structures. On the other hand, in exception handling constructs, the main keywords are 'try,' 'except,' and 'finally.