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.
This comment is hidden because it contains spoiler information about the solution
you have to completely change your approach. You cannot sort at any step of the while loop, for example.
count
is a bad idea too, since you do it in a loop which is itself inside another loop.Did you import it?
from itertools import count
And count(0, 9) will generate an iterator of: 0, 9, 18, 27, 36, ...
Once it has a reply you can't delete your post.
Once it has a reply you can't delete your post, but it is fine, just remember to mark your post as having spoiler content (when posting code like this in a solution) and it won't be visible in the home page. This time I've marked both your posts for you.
Why are you posting again a solution without marking your post as having spoiler content?
Please, use spoiler flag, your post was visible in the home page.
Hi,
you are right :-) Thank you for pointing out this issue. I coorected my solution with a fork.