Python · Errors, debugging and testing

Test with assert

A test written once can be rerun after every change, so you find out the moment a fix breaks something else.