Turing Interview Question

Python code, normal and easy level code