I think you're confused about what I've suggested. `res == 0` will always evaluate as either `True` or `False`, never `0` as you seem to be suggesting.