Ad
  • Custom User Avatar

    Is the mis-spelling of "bareable" on purpose? E.g. a True response means we can get bare? Or should it be "bearable?""

  • Custom User Avatar

    Thank you for your explanation. It makes sense. The kata is worded oddly; I found the "...[ticket] can be used multiple times" verbiage to be very confusing. (And per your explanation, unnecessary.)

  • Custom User Avatar

    Isn't mutation an antipattern? Why would we not take a single input and return two new lists?

  • Custom User Avatar

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

  • Custom User Avatar

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

  • Custom User Avatar

    Validating the timestamp in the OID would be a worthy requirement of the is_valid() function. Currently the tests allow an invalid string (e.g. 'zzzzzzzzzzzzzzzzzzzzzzzz') to pass (at least in Python).

  • Custom User Avatar

    bump

    The Kata needs a fix. Got NameError: name 'alpha' is not defined.
    It's listed as been affected by the changes in the new runner.
    https://github.com/Codewars/codewars.com/wiki/List-of-Affected-Kata

  • Custom User Avatar

    Python test results seem reversed. ['S'] should equal [] should equal [] should equal ['S']...

  • Custom User Avatar

    Gah. Thanks. I knew I was doing something stupid.

  • Custom User Avatar

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

  • Custom User Avatar

    FYI - The description says, "It is guaranteed that no zero appears in n." But I'm getting random tests with zeros in them in the Python version. E.g. "Testing for 31258102" and "Testing for 900916."

  • Custom User Avatar

    Weirdness with tests: I've got (apparently) working code that is still too slow. When I run it silently, it passes 746 tests. When I simply add a "print(n)" at the top of my function, it passes 951 tests. That seems counterintuitive to me. I'd expect that asking my code to do more work - not to mention I/O - would make it slower, not faster. [Update: I added another print statement that executes even more often. Now it passes 1037 tests.]