Runs of the same value: groupby
Your task In the code box, write a function runs(statuses) that gives back a list of (status, length) pairs, one for each run of equal statuses next to each other, in order. Then press Run my code.
Getting the editor ready
