Can I see what inputs were used in the tests that I failed in code challenges?

I wrote some code for a python coding challenge in which you have to write a function that takes an integer and returns the sum of its prime factors. I passed some of the tests - it says ‘3/5 tests passed’. Is there a way of seeing exactly which inputs my code didn’t work for?

This is the challenge:

Short answer: No. We are not given to know what the test cases are. A drag, I know, but we just have to work at it. This is one way to combat correctness bias and admit that we must have missed something or have a flaw in our logic/thinking. Get over that hurdle and learning to code will be a breeze since one will have an open mind.

1 Like