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.
cool, why did I even bother with recursion
Thank you, I get it now. I unconsiously declare self.page_index = page_index on my page_item_count method. Appreciate the help, the traceback msg wasn't as clear or maybe I'm just not experienced enough.
I have no idea what I did wrong. I kept getting a traceback for my code (Copied it below). I decided to forfeit the test, checked the test cases, tested them myself on another IDE, my code works fine.
Traceback (most recent call last):
File "/workspace/default/tests.py", line 16, in
test.assert_equals(helper.page_index(0), 0, 'page_index returned incorrect value')
TypeError: 'int' object is not callable