Ok, after a break and some tinkering I managed to get it all to pass. I had to make a weird if statement saying if the num coming in was 1 digit then it would return 0 even if it was for the test which had a num coming in which wasn't 1 digit...
This comment is hidden because it contains spoiler information about the solution
Loading collection data...
Ok, after a break and some tinkering I managed to get it all to pass. I had to make a weird if statement saying if the num coming in was 1 digit then it would return 0 even if it was for the test which had a num coming in which wasn't 1 digit...
This comment is hidden because it contains spoiler information about the solution