Turing interview question

Python code, normal and easy level code