Parse the log entry by splitting on ":" with maxsplit=2 to extract exactly 3 parts: the level, the t
A medium Python interview practice problem on DataDriven. Write and execute real python code with instant grading.
- Domain
- Python
- Difficulty
- medium
Problem
Parse the log entry by splitting on ":" with maxsplit=2 to extract exactly 3 parts: the level, the timestamp, and the full message (which may contain colons). Print each part on its own line.
Practice This Problem
Solve this Python problem with real code execution. DataDriven runs your Python code in a real environment and grades it automatically.