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
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
when you use //, it basically rounds to the smaller number, if you have 1.3 it becomes 1, if you have 79.8, it becomes 79,
so it always round to the smaller, but what happens when the number is negative, -79.8, the smaller number is -80, and that's
the way to do ceil and floor without using any of the method, number // divisor to get the floor, and -(-number//divisor),
to have the ceil, pretty neat :D
This comment is hidden because it contains spoiler information about the solution
200 cases were passed and 6/7 of the basic checks were passed and only one didn't pass, 3 instead of 4, i guess we have some sort of bug in the assessement checks
really elegant ! we live and we learn :D