Every practice notebook from the labs — 21 of them, opening straight into Colab. Save a copy to your Drive before you start, or your work goes when the tab closes.
01 · Using notebooks
Cells, run order, recovering from a NameError.
02 · Variables & print
Assignment, print() and f-strings.
03 · Data types
int, float, str, bool — and the type trap.
04 · Operators
Arithmetic, comparisons, a molarity calculator.
01 · Lists — basics
Indexing, slicing, growing a list.
02 · Lists — advanced
Nesting, sorting, list methods.
03 · Strings — basics
A sequence you can slice and count.
04 · Strings — advanced
Methods, splitting, building text.
05 · Dictionaries — basics
Lookup by key, the codon table.
06 · Dictionaries — advanced
get(), counting, nested data.
01 · Loops — basics
for, range, accumulating a result.
02 · Loops — advanced
Nesting, enumerate, comprehensions.
03 · If / else
Making decisions in code.
04 · If / else — advanced
Chained tests, truthiness, guard clauses.
01 · Functions — basics
Arguments, return, one job per function.
02 · Functions — advanced
Defaults, docstrings, composing functions.
03 · Errors — basics
Reading a traceback, try / except.
04 · Errors — advanced
Raising your own, failing loudly.
01 · numpy on small data
Every step of the neuron analysis on a 50-frame toy. Everyone starts here.
02 · Neuron project — basic
The full analysis on the real recording, step by step.
02 · Neuron project — advanced
The same analysis with checkpoints and hints, then stretch goals.