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.
My Python 3.10 code is failing below test, which I can't figure out:
Testing.page_index() method - "page_index returned incorrect value: None should equal 0"
PaginationHelper inputs:
Collection: range(1,25)
Items per page: 10
Page index method input: 24
It's asking for the page index of the number at index 24 from the original list
My code returns index 2, however, am getting above test error message, which I can't figure out, what to fix.
Any help is appreciated!