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.

| |
  • 1
    \$\begingroup\$ Debugging per-se might not be what Stack Overflow users want to do, but if you pinpoint the problem somewhat, and write a clear and specific problem, I believe that your question would be welcome on Stack Overflow. \$\endgroup\$ – Simon Forsberg Apr 25 '16 at 16:30


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.

| |

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .