← Questions

Parse logs and count error codes

0
NuroCodingLast asked Feb 2026

Read lines of a log, pull out the error code from each line that has one, and count how often each code appears. Skip malformed lines.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding