The Python Papers

The Python Papers

Python Pop Quiz - Letter Explosion

Mike Driscoll's avatar
Mike Driscoll
Feb 17, 2026
∙ Paid

You learned about exploding a range object in the last quiz. For this quiz, you will extend that knowledge and discover what happens when you explode a string.

But wait! There’s more here than meets the eye. What is up with the numbers in the squiggly brackets?

If you’re familiar with string methods, you can figure this quiz out pretty quickly!

The Quiz

Wha…

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