Ad
  • Default 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...

  • Default 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.

  • Default User Avatar

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

  • Default User Avatar

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