I have recently started solving problems with Python. Many of the programming problems involve complex algorithms and are hard to solve. I need help knowing if the code I've written produces wrong answers. For example, I have written code for questions like this, and they produce wrong answers. So, can I ask such questions on the site? If not, is there another SE site which solves the above problems. You See the question may look like debugging from a point of view and hence StackOverflow doesn't allow it.
Such code is what we consider broken code. As explained in the on-topic help centre, such code is not welcome here.
If you are looking for feedback on a specific working piece of code from your project in the following areas…
However, if your question is not about a particular piece of code and instead is a generally applicable question about…
- Trouble-shooting, debugging, or understanding code snippets
then your question is off-topic for this site.
We don't trouble-shoot. Once you get it working as intended to the best of your knowledge, feel free to post your code. We can help you out improving it once it works.