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.
In Python 3 the division of two integers (int / int) results in a float. And floats cannot represent big integers exactly.
If you need the exact results you can use integer division (int // int) and integer modulus (int % int) instead.
got the same problem... but not able to solve. Can you please elaborate your explaination?
Also, floor division (integer division) is faster than true division
Because of imprecisions, you could get 54.9999999999 which is not equal to 55.
This was a python 2 solution, where
/
is floor division; in python 3//
is the floor division operator.