Ad
  • Custom User Avatar

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

  • Default User Avatar

    I made a change in the way I pick my steps and it finally worked, haha!

    I was about to give up and go to sleep, but it's your comment that gave me hope for a last try. ^_^

  • Default User Avatar

    If you want to change your answer, well, your answer is a already submitted, so just click Train Again and submit another solution. You can have multiple solutions per kata. Or your can fork it, but that is only for small changes.

  • Custom User Avatar

    Hey! I appreciate the feedback. After submitting my solution, I saw some other switch solutions and they had the default case, but I didn't know how to change my final answer. Switch is one I have rarely used and wanted to practice. Gotta remember the default! Thanks again for your comment.

  • Default User Avatar

    I tried these stacked cases but I got undefined on my attempts, I don't know why for now... But I wanna say that you could put a default case for when the user gives you an invalid month so your switch can return an error message. ^^