Locked testcases | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Locked testcases

Can anyone tell me why some test cases are hidden. Is there a way to see the input? It stops me from learning because I cant see what is wrong with my code.

22nd Feb 2021, 5:40 PM
Joakim Eriksson
Joakim Eriksson - avatar
2 Answers
+ 5
Some test cases are locked because otherwise you could just hardcode the solutions with a bunch of if statements, which defies the point of the challenges. If you are absolutely stuck on one, you can copy the code into a playground project and open a thread here, showing your code and describing your problem, and the community will assist you.
22nd Feb 2021, 5:49 PM
Shadow
Shadow - avatar
0
Thanks a lot! I will try some more before I surrender!
22nd Feb 2021, 7:25 PM
Joakim Eriksson
Joakim Eriksson - avatar