Ad
  • Default User Avatar

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

  • Default User Avatar

    the part that initially tripped me up dealt with the fact that each day of the week isn't a list of values - its a list of a list of values.
    i don't have much python experience - so i'm not sure this is normal/standard.
    just seemed like there was too much wrapping.

    quick kata

  • Default User Avatar

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

  • Default User Avatar

    If I were to guess:

    1. The direction states non-negative integers - 0 is clearly one of those values
      As such - it is not a garbage answer.
    2. A general-purpose LCM would accept zeros and resolve appropriately.
  • Default User Avatar

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

  • Default User Avatar

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

  • Default User Avatar

    I agree; however, when I made the kata it wouldn't bless it until I forced the default provided solution to fail some sort of unit tests.
    So I assert this to create an intentionally-wrong state so that it would cleanly publish.

  • Default User Avatar

    I'm having a problem that I presume to be caused by my submitted code; however, I don't see it.
    My initial test passes nothing and I have my function returning an empty array; I have this as the expected result as well.
    However, it indicates the test fails.

    Scenario:

    function intlev(){
    return [];
    }

    Test.assertEquals(intlev(), []);

    Please help or make a recommendation!