Ad
  • Custom User Avatar

    could you try using codeblocks like this next time?

  • Custom User Avatar

    make sure to return the values not just print them

  • Custom User Avatar

    Mark your post as having spoiler content next time and use markdown formatting too, thanks.

    https://docs.codewars.com/training/troubleshooting#post-discourse

  • Custom User Avatar

    damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn, damn

  • Custom User Avatar

    thx bro, this is probably why i forgot to refine the code before submitting it

  • Custom User Avatar

    You need to return the result, not print it.

    I'm puzzled how you got to 6kyu without knowing this..?

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution