What are the hidden test cases in Sololearn?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What are the hidden test cases in Sololearn??

There are some problems like Pig Latin , Password Validation , etc which they all have some hidden test cases . I just solved a problem and in Password Validation , two of the test cases were accepted and the rest of them were either accepted or not accepted , plus they were hidden(why hidden!??!) . This is my code : https://code.sololearn.com/c0icHrd9Sxqg/?ref=app Plz let me know whats wrong with it

4th Mar 2021, 8:44 AM
Ali_combination
Ali_combination - avatar
4 Answers
+ 2
Hi Ali_combination I don't know ccp, but I think your problem is that you have defined the number of characters as >=7. The challenge specifies that the length of the password is >=7, so it should be an easy fix for you Good luck
4th Mar 2021, 9:27 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 1
Rik Wittkopp Fixed ! Thank you so much gentleman 🙏
4th Mar 2021, 9:49 AM
Ali_combination
Ali_combination - avatar
0
Yes, the number of characters should be > 7
4th Mar 2021, 9:57 AM
Jan
Jan - avatar
0
Quantum Yep , thanks a bunch🙏
4th Mar 2021, 9:59 AM
Ali_combination
Ali_combination - avatar