Tuple Unpacking

Tuple unpacking (aka "multiple assignment" or "iterable unpacking") is often underutilized by new Python programmers. It's tempting to reach for indexes when working with tuples, lists, and other sequences. But if we know the size/shape of the tuple (or other sequence) we're working with, we can unpack it using

Tuple unpacking screencasts/articles

A Python Tip Every Week

Need to fill-in gaps in your Python skills? I send weekly emails designed to do just that.