Practice ยท 1 of 1
Filter Error Logs
Implement error_lines(log) returning a new string containing only the lines that start with "ERROR", each kept as-is with its newline. No ERROR lines โ empty string.
Difficulty: beginner
Press Submit to check your solution.
Back to lesson: Practice: File Practice: Lines and Logs