Python · Errors, debugging and testing
Changing lines at random until the output looks right can hide a bug; a guess you can test finds it on purpose.