One Line in the Log — medium Python for AI problem | Incognition