This comment is hidden because it contains spoiler information about the solution
Yeah, it looks like you're right. The dangers of only writing code to pass the tests, I guess.
I think this solutuin is wrong, it work incorrect when num < 6. So if i put for example 2 toasts in toster, it will return 2(how much i put in), instead of 4(how many more shoud i put in). It passed the test couse they all passes values that > 6.
Loading collection data...
This comment is hidden because it contains spoiler information about the solution
Yeah, it looks like you're right. The dangers of only writing code to pass the tests, I guess.
I think this solutuin is wrong, it work incorrect when num < 6.
So if i put for example 2 toasts in toster, it will return 2(how much i put in), instead of 4(how many more shoud i put in).
It passed the test couse they all passes values that > 6.