Result not correct

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

Your code?

1 Like

http://codepad.org/QIZGOW2m

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

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

1 Like

in editorial there will be link to practice problem

//