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.
Hi @Raphango, I've had time this morning to look into this :-)
I believe it's your code that is wrong sorry :-( I've selected 3 sample random tests that failed using your code and validated them in Javascript against the 5 people who have solved the kata plus my own code and they all passed. I then used the tests against my Python code and that passed also.
I wondering if it's because the line input isn't always sorted numerically why it's failing? I've updated the description with this information.
If you would like to validate yourself the tests were...
Test 1
Test 2
Test 3
Hope this helps
Cool, I'm just comparing my Python translation with my Javascript translation as I know 5 people have solved that. They are both the same as far as I can see but I maybe wrong. Please feel free to look at the kata's test code....I know this will for forfeit your solution, which I appologise for but I'd appreciate the feedback.
Hi @Raphango, let me just double check everything :-)
matt c, It's not working:(
There can be more than 3 functions.
I fixed 2 typos, let me know if I missed some.
I tried to put some emphasis on the reversing part too.
This solution was written in python 2. You are probably using Python 3.
The
/
operator represents integer division in python2 while float division in python 3.Replacing it with
//
should work.you just have to print
Hello World!
to the console.Thanks :)