Lines Versus Records — medium Python for AI problem | Incognition