+ 1

I am trying to solve the problem "sign" in code couch. The code is correct and checked many cases in my PC

Problem is it's getting failed with the test case in sololearn.. the same test case worked perfectly in my PC. I am sure that the code is fully correct.. please help me with it https://code.sololearn.com/cbbmL3z909hu/?ref=app

20th Dec 2019, 12:53 PM
Lakshmipathi
Lakshmipathi - avatar
4 Antworten
+ 1
So as not to completely spoil this one, here's a hint for it: what if the strings contained spaces?
20th Dec 2019, 3:33 PM
Njeri
Njeri - avatar
+ 1
I did check it. My comment still stands. Think about how spaces in different positions would affect the reverse string.
20th Dec 2019, 3:46 PM
Njeri
Njeri - avatar
0
Njeri, I am considering the spaces too in my code. Sir, Have you checked my code?
20th Dec 2019, 3:41 PM
Lakshmipathi
Lakshmipathi - avatar
20th Dec 2019, 4:09 PM
Lakshmipathi
Lakshmipathi - avatar