Practice · 1 of 1
Filter Error Logs
CHALLENGE
Difficulty: beginner+25 XP
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.
Press Submit to check your solution.
Back to lesson: Practice: File Practice: Lines and Logs