Ad
  • Custom User Avatar

    Welcome to Codewars!

    You need to return your final solution instead of printing it. Returning a value allows it to be checked for equality, whilst printing it just outputs the value locally to the console. You need to compile your return value into one last statement which will be a string.

    All of the Katas on this website work like this

    Also, (from your other comment) if there is a problem with the Kata/you have a question about the Kata, I suggesting commenting on the Kata and not on the forums (which is for site problems/issues). I recommend using 3 backticks (`) to display your code, read more here.