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.
thanks! fixed it
Your solution has a bug. It works incorrectly when it is called more than once. Test it locally bu running it two times in a row, once with input "abcdefghijklmnopqrstuvw", and then with input "xyz".
It is a bug in your solution, and not a kata issue.
python tests are incorrect. when i copy the test input to my local machine the output gives expected result but copying the same code here shows wrong output. eg: "I+UG +<Twqh\tumNVfY/RbCIO[FsLVFZpx=jD" shoutld return False and it does on local machine but on codewars it shows True should equal to False.
Sorry, there are no errors in the tests. (C kata passed by 883 people).
This comment is hidden because it contains spoiler information about the solution
Unfortunately, I did not understand at all what the task was about. Separately, everything is clear, but not all together.
And what is the issue here? Your solution returns wrong results.
Testing .page_count() method
Test Passed
page_item_count is returning incorrect value.: 4 should equal 10
Test Passed
page_item_count is returning incorrect value: 4 should equal -1