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.
This comment is hidden because it contains spoiler information about the solution
my solution is in Python, which has the same method for dealing with NaN as JS. I see other people have passed in python so it may just be me!
On one of the random tests I get nan should equal nan. Is this an error in the test case or in my code? Nan is designed to not equal itself in order to prevent errors returning values, so i dont see how this can ever be passed.
Further to Damjan, in the random test cases numbers in the hand are sometimes represented as strings and sometimes as ints
Could do with a little more description; the "PHP:..." is slightly confusing as it looks like PHP is already an acronym and therefore the complete acronym would be PHPHP, just based on the use of capital letters
Nice simple kata, but becomes quite easy in Python, a possible addition would be to keep punctuation in the same place as well as use proper case in the result
Hi, really enjoyed the kata. What would the likely application be for this sort of equation?
Thank you so much for your help!!
Same applies to me using python
I guess it is necessary for the test functions, would be good if you could insist on use of '\n' somewhere!
The tests dont insist that each floor is printed on a different line , if that is what was inteneded