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 one made me smile :-)
corrected (making it consistent with the python version).
I belive the random numbers test should be adjusted. Kata description says nb_petals > 0, but test generates 0 sometimes.
int n = rand.nextInt(100) + 0;
should be:
int n = rand.nextInt(99) + 1;