Python DIRECTI Code fine. Still wrong answer.

Can somebody please check this code and tell me what is wrong in this. This code works perfectly fine for the test cases and I am very sure that I will do the same for other test cases too.

A python snippet below :

Consider this test case:

1

3

Begin on Sion Road

Left on Matunga Road

Right on Dadar Road

1 Like

wooh, I see. thanks a lot. never thought that much about it. :smiley: