Ad
  • Custom User Avatar

    I was actually thinking the same thing about this being so hard at an 8 and this comment was a massive help! Thanks!

  • Default User Avatar

    Hi and welcome to Codewars!

    It's a bit tricky for 8 kyu if you try to do it using your current approach - when you unlock solutions you will learn about the "part" that you are missing to make it work.

    Alternatively, as a small hint to get you started on your Codewars journey, maybe you can find a simpler way to solve it using multiple if statements?