Interesting Kata but it can be a bit misleading. You say "Counting starts from the Cat In The Hat" which due to the capitalization I take it you mean the largest cat (The 2,000,000 unit tall one). So when passed 7 this actually means 7 cats on top of the largest cat, making in theory 8 total cats.
And how is it possible that now my function does not pass the test nor the attempts with this exact code writting? It says 'undefined expected to be 'Hello boss''.
Rounding floats to decimal values does not work. Use fuzzy equality.
Interesting Kata but it can be a bit misleading. You say "Counting starts from the Cat In The Hat" which due to the capitalization I take it you mean the largest cat (The 2,000,000 unit tall one). So when passed 7 this actually means 7 cats on top of the largest cat, making in theory 8 total cats.
For JavaScript of course not
And how is it possible that now my function does not pass the test nor the attempts with this exact code writting? It says 'undefined expected to be 'Hello boss''.
Best solution!
What is the height of the first cat?
wtf
Approved
PHP translation
Approved
TypeScript translation
Python translation
Pleas, what's wrong with it?
Approved
Loading more items...