Module 5

Why we need collections

Storing multiple values together.

More than one value

So far, each variable holds one value. But often you need to work with many values: a list of samples, a set of measurements, a table of results. Python provides collections for this.

Why it matters

In bioinformatics, you rarely work with a single sequence. You work with hundreds or thousands. Collections make this possible.

Why are collections useful?