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 is pretty logical considering that a number cannot be divided by 0
You have an example in the kata's description where you see with 1 the answer should be 0, why are you returning 2 instead? 1 is not a reduced proper fraction.
I do not understand the first test.
As it fails, it says : "2 should equal 0". But the number of reduced fractions is at least 1, given that the fraction 1/d is reduced for all d>=1.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
yes?