Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
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?
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.
that's exactly what happens to me :/
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.
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.
Thanks guys, I got it working with "ball.ball_type".
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" ?
('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.
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?