Ad
  • Custom User Avatar

    It drives me crazy. I saw other solutions (which, I admit, were far better) and even ran them. They work, and the random tests also returned correct and full results. I ran mine again, and changing the final result to only the last value doesn't work. It only passes the tests if I reduce it to the last value. I'm so confused...

  • Custom User Avatar

    A function can't return multiple values. You don't need a break in this case because once "Eight" is returned, the function doesn't continue.

  • Custom User Avatar

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

  • Custom User Avatar

    Thank you! Really helped me figure out what was going on in there.