Tilling Problem not accepting recursive pythnn code

The code written recursively in c++ is getting accepted but when the same logic is written in python, the solution it giving TLE in more than 80% test cases.! Please check this as I am a python programmer and I most of the time write top-down approach solution