0
Why other 3 test cases are unlocked. Is i am making some mistakes that's why they are not opening. please tell me
While solving code project in end of lesson
4 Respostas
+ 5
They won't open even if you don't make any mistake.
Some test cases are hidden to prevent cheating.
Please take a look at your solution again and try finding your mistakes.
+ 2
G'day nitiksh pal just like the others said, the test cases are hidden so we don't cheat.
You can't share your "code coach" attempts here, but you can cut+paste them into a SoloLearn "code bit". You can add a link for code bits or other Q&A posts by using the plus icon here.
We won't give you the answers, but we will help you to discover what isn't correct. 😎
+ 1
I didn't understand please can you explain it in more simple manner
+ 1
They won't open as you will use if elif else and make your code according to the test cases.
So to prevent that, solo learn hides some test cases, so that you will make such a code that will be working for all the inputs given in the test cases.
In other words (as said by Simba)
It prevents cheating
edit]: nitiksh pal
also have a look here:
https://www.sololearn.com/Discuss/2314301/why-are-some-test-cases-hidden
https://www.sololearn.com/Discuss/2662203/why-are-some-test-cases-hidden
https://www.sololearn.com/Discuss/2355914/how-to-open-locked-test-cases