01 / 07
Mistakes that do not error
When something errors, the traceback tells you where. The awkward case is when nothing errors and the answer is still wrong.
Python only did what it was told, so it has nothing to say. The value you think is there and the value that is there have parted company — finding that spot is the whole of bug hunting.
The way you find it is very plain. Show what a variable holds, somewhere suspicious. That is all there is to it.