Ad
  • Default User Avatar

    Hi,

    Should the first code snippet in the Ruby version not be translated into Ruby?

    Thanks

  • Default User Avatar

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

  • Default User Avatar

    I'm currently trying to work on the Ruby version. Can you please confirm if it's possible to solve at this point?
    I've tried just adding "rand(2**length)" as the return value of the 'run' method and I get a "`run': wrong number of arguments (4 for 5) (ArgumentError)" error. If I remove the last argument (iterations) from the 'run' method definition, it gets as far as failing the actual tests (no ArgumentError).

  • Default User Avatar

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