Pregunta de entrevista de MSpace Solutions

Debug the python code to analyse the seperate obstacles in path.