Ad
  • Custom User Avatar

    It's better now, but you have a typo, focus on the test it's failing now and you'll find it.

  • Custom User Avatar

    No, your code fails the first sample test. And if tested with that input value in VSCode it'll fail there too. Why are you using a loop?