0

how to unlock all testcases in practice codes in python?

I got output on 1st test case, but i am not unable to unlock all other testcases'

13th Oct 2023, 3:29 PM
Anumala setty Santan kumar
Anumala setty Santan kumar - avatar
10 Respostas
+ 9
These testcases are hidden and cannot be unlocked so no one could solve it with defraud!
13th Oct 2023, 3:45 PM
Gulshan Mahawar
Gulshan Mahawar - avatar
+ 6
Anumala setty Santan kumar , Note that, If you're having trouble in code, share your code and describe what error message you're receiving. without watching no one can figure out what's going wrong.
13th Oct 2023, 5:37 PM
Darpan kesharwani🇼🇳[Inactive📚]
Darpan kesharwani🇼🇳[Inactive📚] - avatar
+ 6
I think you're arguing 2 different things. You have information: you have the lessons, you have the codes and maybe you have some example test cases to see what you could expect. What you don't have is the view to all answers. That's how every test, homework, project, job, thing in life is. That's the point of test cases: you need to think, when programming, how to address ALL possibilities. You can prompt a user for their name, but they might type in numbers, do you want that? Does that crash your program? What about if you need them to write in a date? What about if they decide to write the date in a format that isn't whatever you think of first? Did you study mathematics at school? Did you have to do algebraic proofs? Were you provided all answers for any case that might come about? It's the same. It doesn't retard building skills, it should build the skill of the user to think of many possible ways to solve whatever the requirement might be, including, when it's the wrong input and to search for more.
19th Oct 2023, 6:28 PM
Ausgrindtube
Ausgrindtube - avatar
+ 5
I agree there always room for improvement but Hidding test cases is a proven method for building skills. Its not just sololearn that does this. This is also the same on other platforms that offer coding quizzes as well as programming competitions. There are various reasons why it is important.
19th Oct 2023, 5:09 AM
Chris Coder
Chris Coder - avatar
+ 4
I wrote the following code to highlight why you shouldn't be able to unlock/view test cases. See if it helps you. https://code.sololearn.com/c2H9u8pFNj7t/?ref=app
13th Oct 2023, 6:21 PM
Ausgrindtube
Ausgrindtube - avatar
+ 4
I used to have the same questions. But I've discovered in the real world, problem-solving often requires a combination of research, critical thinking, and experimentation. Unlocking test cases can hinder the development of these valuable skills.
13th Oct 2023, 7:30 PM
Chris Coder
Chris Coder - avatar
+ 4
Rain you have some good points. I believe that in the real world, when you encounter an error in your code, there are no hidden test cases to unlock. In a learning environment, I think that restricting access to test cases encourages us to enhance our problem-solving skills. We can refer back to our lessons or explore other resources to help us gain a better understanding.
19th Oct 2023, 3:23 AM
Chris Coder
Chris Coder - avatar
0
I think test cases should he unlockable because you need to see your output to debug your code. That's especially true given Sololearn's unfortunate habit of testing stuff they didn't teach. Sololearn is so easy to cheat anyway, that locking the test cases doesn't stop the cheaters, who can simply copy code from a cheater-enabler's comment, but it hurts people who are actually trying to figure out what's wrong and learn to correct it, because they are flying blind with a fail and no information. Imagine if the interpreter always did that! No error messages, no line numbers, no exception names, just "fail". It would be impossible to debug anything. If anybody agrees, the best way to influence Sololearn is to send Feedback through the main menu, as I have. They don't have the resources to scrub the thousands of new comments a day across all the courses and discussions, etc. for suggestions.
14th Oct 2023, 6:27 AM
Rain
Rain - avatar
0
Chris Coder , I think you're missing my main point. You can't enhance your problem solving skills without information. Your suggestion that hiding test cases encourages us to explore other resources actually points out that Sololearn's method is not educational. I always read multiple resources anyway, but that doesn't mean there's no room for improvement here. I believe revealing all test cases would be more educational.
19th Oct 2023, 3:58 AM
Rain
Rain - avatar
0
I disagree. Hiding test cases retards the building of skills because you can't build skills without information. It's hardly a "proven method" unless you can show double-blind studies of educational effectiveness, and the anecdotal evidence to the contrary is all over Sololearn in course comments and discussion threads. Just because Sololearn does it or unnamed "other platforms" do it doesn't prove that it works.
19th Oct 2023, 10:12 AM
Rain
Rain - avatar