logic error

A mistake that lets a program run without any error message but makes it produce the wrong result.

In more detail

Python cannot detect it, because the code is valid; only checking results finds it. Playing computer, printing values, the debugger and automated tests are the tools for finding logic errors.

Related terms

Taught in

References

Certification courses