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.
spoiler flag, please...
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Flabbergasted as well.
...but forreal, how does this work? I'm flabbergasted.
Please, use spoiler flag next time.
I recommend setting alphabet to
'0123456789'
and printingv
here after each iteration.That would probably make it clear.
map function takes two arguments: function and Iterable (list, tuple, generator, ...) and apply on each item in iterable the function.
map(str, n) == (str(i) for i in n)