Help. Not able to resolve all tests in Code Coach challenge | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Help. Not able to resolve all tests in Code Coach challenge

My code does not meet all requirements, but I can't find the problem. Please don't post a working code. I would prefer a suggestion of where the problem may be, so i may resolve myself. https://code.sololearn.com/cRFegA9sgMjM/?ref=app

4th Apr 2021, 9:05 AM
Rik Wittkopp
Rik Wittkopp - avatar
6 Answers
+ 3
.lowercased() gets you into trouble though problem description is missleading...
4th Apr 2021, 2:20 PM
Mihai Apostol
Mihai Apostol - avatar
+ 3
Resolved by removing lowercased() It seems some of the test cases have Capitals. Thanks heaps
4th Apr 2021, 7:12 PM
Rik Wittkopp
Rik Wittkopp - avatar
+ 2
Denise Roßberg ,Mihai Apostol Thanks for the ideas, I will look
4th Apr 2021, 7:04 PM
Rik Wittkopp
Rik Wittkopp - avatar
+ 2
Rik Wittkopp Mihai Apostol Yes your right, I also checked it in my java code. I will pass the bug on.
4th Apr 2021, 7:14 PM
Denise Roßberg
Denise Roßberg - avatar
+ 2
4th Apr 2021, 7:15 PM
Rik Wittkopp
Rik Wittkopp - avatar
+ 1
Hello Rik Wittkopp I am not familiar with swift but did you check the length of your printed message? I know from other users that they sometimes add an extra space at the beginning or end.
4th Apr 2021, 12:40 PM
Denise Roßberg
Denise Roßberg - avatar