Code Coach Question : It is a sign, test case 3 and 5 keep failing | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Code Coach Question : It is a sign, test case 3 and 5 keep failing

I am doing the Code Coach challenges. I am try to solve the It is a sign. Test Case 3 and 5 keeps failing. What is tested in this cases. As far as I can test, everything is correct. https://code.sololearn.com/c7i3WAkX2d2Y

26th Sep 2020, 9:38 PM
sneeze
sneeze - avatar
4 Answers
+ 3
Hint: LIVE LOVE RACECAR SOMETHING
27th Sep 2020, 5:07 AM
Kevin ★
+ 2
Yup solved it. Thank you for the input data. Kevin ★ That helped me solving the problem. Now hoping that the code coach part comes back online. The problem was not detecting the palindrome it self. It was resetting the result_check after something was not a palindrome. My first code only worked when the first word was a palindrome. It is maybe not the most efficient or easy way to do it, but this is the way I did it. https://code.sololearn.com/c8PHgJo9n3fY
27th Sep 2020, 9:14 PM
sneeze
sneeze - avatar
0
It is "Palindrome". so please check line 27. using revese is easy way 😉
27th Sep 2020, 6:58 AM
M*S €(^-^()
M*S €(^-^() - avatar
0
if you are not yet sloved another test 0123456 str = "RACECAR" str[0] == str[6] , str[1] == str[5] , str[2] == str[4] and also there are slove tips in the Community Challenges ( like this -> Palindrome Number) Happy coding!
28th Sep 2020, 9:09 AM
M*S €(^-^()
M*S €(^-^() - avatar