Parse Logs and Count Error Codes

Problem: Parse Logs and Count errorCode Frequencies (Python)

You are given multiple log lines in the following format:

[I] <timestamp>, <eventName>, <errorCode>, <text>
  • Each line start...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: