Mallow & Marsh interview question

In the Aptitude, they cover number, Logical reasoning for Python questions like Hackerrank coding questions.