Python · 2026-09-07

Grouping consecutive equal items in a non-empty list of strings

From the archive. Free practice; it does not count toward the monthly board.

Python
Loading editor…