Ad
  • Custom User Avatar

    Hi

    I tried to submit my solution, but I was told:

    “It should work for random inputs too – Expected: false, instead got: true”

    I then took the tests where I had failed, and ran them through my program using irb and the terminal.

    Surprisingly, the irb showed the program running as it should do, giving false when it was expected. Is this because of a flaw with irb?