Ad
  • Custom User Avatar

    You're totally right in all that you said. I'm gonna fixe it soon, but right now I can't. Thanks for the critical comments.

  • Custom User Avatar

    I added this sample cases where said Example Test Cases and save it of course, but when I try to solve it to see if the sample cases are loaded well doesn't load it. It show me the all code that I had.

    points = [[1, 1], [2, 1], [2, 2], [1, 3]]
    result = [[[1, 1], [2, 1], [2, 2]], [[1, 3]]]
    
    points0 = [[2,3],[3,4],[6,2],[0,9],[1,0]]
    result0 = [[[1, 0]], [[6, 2]], [[2, 3]], [[3, 4]], [[0, 9]]]
    points1 = [[8,3],[0,4],[18,11],[1,0]]
    result1 = [[[1, 0]], [[8, 3]], [[0, 4]], [[18, 11]]]
    points2 = [[2,-4],[4,-2],[-1,9],[14,12]]
    result2 = [[[2, -4]], [[4, -2]], [[-1, 9]], [[14, 12]]]
    
    
    Test.assert_equals(group(points), result)
    Test.assert_equals(group(points0), result0)
    Test.assert_equals(group(points1), result1)
    Test.assert_equals(group(points2), result2)
    
  • Custom User Avatar

    Thanks for the feedbacks

  • Custom User Avatar

    You're right, can you give me some example code of how to do that, I'm new creating katas. For example in the random cases I had:

    import random
    for _ in range(100):
        points = [[random.randint(0,100),random.randint(0,100)] for i in range(100)]
        result = walk_point_path(points)
        test.assert_equals(walk_point_path(points), result)
    

    How can I change that? More specific how can I get the user solution?

  • Custom User Avatar

    I added one right now, can you try it now and see if it is work. Any feedback with respect to the problem is good received

  • Custom User Avatar

    Cool, thanks I was thinking in making one but I was not sure if it was allowed.

  • Custom User Avatar

    Hi, there's any restriction to post a Kata about web scrapping? Where the solver actually has to scrape a website and extract information about that website.

  • Custom User Avatar

    Yeap definetly

  • Custom User Avatar

    Somebody can tell me if this problem is related with any situation in practice life. I haven't solve it yet, maybe that's why I don't see
    the point with this problem.

  • Custom User Avatar

    Super cool, another trick to the bag

  • Custom User Avatar