Hi all.

I’ve just finished the Exact Change challenge. Sometimes it feels like I’m just reaching a solution by brute forcing… I mean, before I start working on the solution, I have a very rough idea in my mind of the steps that I need to do to solve the challenge.

Then, when I think I’m finished, I see I get one or more red crosses… Then, I find myself adding/modifying the code until, finally, I get all greens… Is this how it’s supposed to be at the beginning?

Btw, my solution for the Exact Change challenge can be found here: https://repl.it/CkqW/0

Any feedback is much appreciated.

Thank you!