Skip to the workspace
Pebellslearn by building
← All practice tasks

Foundation · Coding exercise

Count normalized labels

dictionaries · normalization

Not checked yet

Guest practice stays in this visit. Sign in to save your progress. Checks cover the stated cases; discussion rubrics are self-reviewed. These tasks do not mark course lessons complete.

DrillCount normalized labels

Implement count_labels(labels). Strip outside whitespace and lowercase each string. Ignore empty results and return a plain dictionary of counts.

Hover to wake the cannons. Drag to move, or use arrow keys when focused. Press Enter to fire a shot.