Ad
  • Custom User Avatar

    I know there is not part1&part2="" :D obviously. yes i dit not know there is posibility to print input in codewars thanks. but still it means adding useles code then run again failed code. it may remain in my finished code after i finish solution. sorry thats what i consider wrong aproach instead i prefer to use debug option in wrong answer which is not here. And the main isue i am trying to point out is that error message does not show whole input which cause error only part of input without posibility to find input by "correct way". To solve this issue just add whole input into error message, something like test failed on input"s="bananas" part1="bans" part2="na" expected true but was false". for example i needed to dive into comments and other websites to find what was wrong. Meanwhile trying to find what caused issue i came acros few solutions which would spoil things for me.

  • Custom User Avatar

    Test Failed
    Going bananas!
    Expected: True
    But was: False

    I simply cannot debug it.

    I even try to put this into my code s="Going bananas!", part1="", part2="" obviously wrong please fix error message imposible to find bug even tho i guess where bug is.. i dont want to be guessing bug, i want to learn