Ad
  • Default User Avatar
  • Default User Avatar

    I agree.

  • Default User Avatar

    Testing .page_item_count() method for 2 elements, 1 elements per page, page number 1
    It should work for random tests too: 1 should equal 0

    No, simply no. Python tests are broken when asking for a negative page number or when asking for last page.

  • Default User Avatar

    too easy for 4kyu

  • Default User Avatar

    Python tests are still broken, random portion tests negative page indexs which should return -1 but tests expects different answer.

  • Default User Avatar

    No test cases for negative numbers, also description should state that you are rounding up.

  • Custom User Avatar

    this is painfully unreadable

  • Default User Avatar

    Details say cases with all be > 5, this is not true. Dictating behavior for case of size = 0 would be good as it doesn't specify in the details but it the first case when submiting solutions, which also does not provide feedback.

  • Default User Avatar

    0000000000
    .........0
    00000000.0
    0......0.0
    0.0000.0.0
    0.0..0.0.0
    0.0....0.0
    0.000000.0
    0........0
    0000000000

    Is it still this? becuase this is correct, turning once more would put a 0 adjacent to 2 other 0's.

  • Default User Avatar

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

  • Default User Avatar

    Test cases still borken for python.

  • Default User Avatar

    Consider more examples or more explicit definitions of what you want the functions to do, shouted and whispered are clear but I couldn't tell if spoken was meant to return the message unaltered or capitalize the first letter or ...

  • Default User Avatar

    Weird, I don't see it anymore. Language was python. Must have been some local weirdness.

  • Custom User Avatar

    Which language? I can't find substantial code, other than a function/method definition template.

  • Default User Avatar

    I guess I interperated it as asking to only display that behavior when two words are specifically seperated by a hyphen as that would be the most reasonable character to be seperating two objects in practical applications, I can see how I was mistaken but I would still suggest clarifying in the description, or maybe just add an example showing the punctuation other than hyphens should be preserved. Thanks for taking the time, nice kata.

  • Loading more items...