Result not correct

help
directi

#1

I tried reversing direction question (december cook-off). What’s wrong ?


#2

Your code?


#3

http://codepad.org/QIZGOW2m


#4

What about testcases like these
Begin on City on the Bridge

your split funktion makes three srings out of it, which is wrong, right?
although I’m not familar with Python


#5

Thanks for help. can u tell me how to check it now, when comp is off?


#6

in editorial there will be link to practice problem