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.
genuinely dont know how do people come up with 1 liners man
Aaah, the elegance of v % 2 !
I keep forgetting that I can use statements like that to evaluate truthiness.
bro writted my code in one line
Your output is a map object, you had to use the list() function outside to convert the map object into a list.
I think it's because when you use return and call the function, you will immediately get a message without needing to print the function (I could be wrong).
at this point just make it one line
its fun
Nice and efficient too with the set
why in the world is he importing inside a function, no less at the very end. Honestly? well played
158+ like him
nice
I wanted to do that but I was too lazy to search on how to use map func
Even later... This might have been true in the past, but not now. The
popmethod does not create a new list it modifes the original list in place.You rock man!!
Cool. The most concise and elegant solution. I like it)
I did almost like this example.
Loading more items...