The Python Papers

The Python Papers

Python Pop Quiz - Exceptionally Crazy

Mike Driscoll's avatar
Mike Driscoll
Jul 19, 2023
∙ Paid

The Python programming language allows you to catch exceptions using the try / except construct. But what happens if you nest exception handlers and throw in a break statement too?

Your mission in this quiz is to find the answer to that question!

The Quiz

Are you ready to start solving quizzes? Of course, you are!

Here's your first one:

What will be the outp…

User's avatar

Continue reading this post for free, courtesy of Mike Driscoll.

Or purchase a paid subscription.
© 2026 Mike Driscoll · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture