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.
Python, possibly others
A solution such as this one will sometimes pass the kata even though incorrect.
Tests should include years divisible by 100, especially in this case years that produce an odd number when floor div by 100.
See the fork just posted below for a fix for Python.
Python Fork
Includes fixed tests and random tests that are guaranteed to produce years that fail a "sometimes pass solution" such as this one.
@mmangiamusardo please mark your post as having spoiler content next time.
This comment is hidden because it contains spoiler information about the solution
I'm shocked, never knew it could be done in 1 line! Very smart, kudos from me
wuaaouuuuuu
Please see the issue above.
This comment is hidden because it contains spoiler information about the solution
Thanks!
Approved.
There appears to be a problem with the Coffeescript version of this kata with respect to the Random Tests. I receive the following error message "RangeError: Maximum call stack size exceeded" when the Random Tests are performed. If I copy the first random test arguments and make a new Fixed test using those exact same arguments, the error message is not generated.
Thats crazy
This comment is hidden because it contains spoiler information about the solution
wha
Are you human? 🤣🤣🤣
Loading more items...