Ad
  • Custom User Avatar

    Svenito, I am not talking about the test cases in the window on the bottom right. I mean the test cases that the submit button executes after I've already tested my code. I fail on the 52nd test, but I've counted the output vs the input for that test using print() and I don't think I'm incorrect. Could you look into it?

  • Custom User Avatar

    Aha, I may have figured it out. The Kata right now is labeled as "draft". Figure out a way to change that and I'm sure it will accept final solutions.

  • Custom User Avatar

    that's exactly what happens to me :/

  • Custom User Avatar

    thank you! However, now it is not allowing me to submit my finalsolution, after I receive a "correct" response from the submit button. Idon't know if this is a site problem, or just for this challenge.

  • Custom User Avatar

    Do you mind giving me insight on the test cases 16 and 17 after hitting the submit button? I receive an error saying 10 should be 0, but I have gone through the instructions multiple times and can't find my bug. I did everything as asked. Thanks in advance.

  • Custom User Avatar

    Thanks guys, I got it working with "ball.ball_type".

  • Custom User Avatar

    Please explain how to get the type of the ball object. Should we use ball.type == "regular", or type(ball) == "regular", or even ball == "regular" ?

  • Custom User Avatar

    ('text', 'I had 1 item then I had 4 now I have 5. How nice.')
    ('letters', ['1', '4', '5', 'a', 'a', 'a', 'c', 'd', 'd', 'e', 'e', 'e', 'e', 'h', 'h', 'h', 'h', 'h', 'i', 'i', 'i', 'i', 'i', 'm', 'n', 'n', 'n', 'o', 'o', 't', 't', 'v', 'w', 'w'])
    [('h', 5), ('i', 5), ('e', 4), ('a', 3), ('n', 3), ('d', 2), ('o', 2), ('t', 2), ('w', 2), ('1', 1), ('4', 1), ('5', 1), ('c', 1), ('m', 1), ('v', 1)]
    15 should equal 12

    I don't see a letter that occurs 15 times. The letter that occurs the most is h, with 5 times. This is the test case it fails on.

  • Custom User Avatar

    For one of the last test cases I am receiving an error "15 should equal 12", yet if I print the test case, '15' does not occur anywhere in the string and neither is there any letter that occurs 15 or 12 times within the string. Any help?