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
the more I code the more I understand the pythonic way of coding ,
I see. Thank you for clarifying. I've never used Python 2, so I wouldn't know. Haha!
This solution is for Python 2, and that's been already mentioned 7 years ago by runzhi214 and frankturnerv.
In other programming languages, like JavaScript, it returns a returns a new array from an original array based instructions you give it. It works similarly in Python, only the list isn't return. It iterates through a list and applies changes you've specified using a function to each element in the list, or multiple lists. I hope this helps some.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
here are few examples to simplify it:
map(int, a) --> apply int to every list object in list a to make them integers
map(str, a) --> apply str to every list object in list a to make them strings
a good summary of a confusing line of code!
I don't get the joke...
This comment is hidden because it contains spoiler information about the solution
That's a twoliner though.
nice
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...