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.
Your code is wrong, and it duplicates the first char number. The kata is fine. Read the error message for the first sample test:
There are two 20s there, instead of skipping the kata, try fixing your code. That's the only way to learn.
I'm getting issues too. I run the code on VSCode using the examples, then copy and paste the same code into this editor and the second character fails reliably. I don't get it. I'll probably skip this one too. Most of these don't seem to work.
This comment is hidden because it contains spoiler information about the solution
well... you can print it
If one test fails and all the others pass, is there a way that I can look at the input that my code wasn't able to handle?
I had to think about what happens in real life when you drop a ball. I don't want to give it away because that won't help you. Think of it this way for the first example. The ball is dropped and the mother sees it once. The ball then hits the ground and bounces 66% of its' original height and if that is high enough the mother will see it on the way up and again on the way down. She won't see it again because it won't bounce high enough on the second bounce. The mother will see it 3 times total.
I interpret the instructions as she will always see the ball once no matter what because when the kid drops it, it has to pass in front of her before it can hit the ground then every time it bounces she will see it twice, once on the way up and again on the way down for a second bounce. I hope that helps.