Skip to main content

Practice · 2 of 3

Parsing Stream

CHALLENGE
Difficulty: intermediate+25 XP

Implement parse_scores(lines) yielding int values for lines that are pure digits (after stripping whitespace), silently skipping anything else.

Back to lesson: Practice: Generator Drills