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.
Your code uses the floating point number division operator / instead of // for integer division since python version 3.
In python versions 2.x / could mean integer division, but this has been changed incompatibly since version 3.
You must calculate with integers only, not floats. Then it works.
The problem is that floating point numbers have only limited precision, they can't store verly large integers.
In python, integers can be as large as you want, but always divide using // to get an integer result.