The Python Papers

The Python Papers

Share this post

The Python Papers
The Python Papers
Python Pop Quiz - Exceptionally Crazy
Copy link
Facebook
Email
Notes
More

Python Pop Quiz - Exceptionally Crazy

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

Share this post

The Python Papers
The Python Papers
Python Pop Quiz - Exceptionally Crazy
Copy link
Facebook
Email
Notes
More
Share

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…

Keep reading with a 7-day free trial

Subscribe to The Python Papers to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Mike Driscoll
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share

Copy link
Facebook
Email
Notes
More