Today I completed the Grasshopper – Basic Function FIxer Kata on Codewars!
It wasn’t difficult to see the problem after a quick sweep of the code; the code was returning the specified number instead of the total. Seeing this, I changed the return value, and the code worked!
Always check that the code is outputting what you expect.