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.
It's start:stop:step
Here it means start at the 2nd element (index 1 in base 0) then take every other element (step of 2).
stop is empty so default is until the end of the string.
could you please explain the slicing method st[1::2] ?
Thanks
Is dict.itervalues, dict.iteritems still working?
I read on stackoverflow that it was used in Python 2 and had been replaced by dict.values, dict.items in Python 3.
https://stackoverflow.com/questions/20444340/iter-values-item-in-dictionary-does-not-work