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.
Ah, but this is part of the standard library, not a 3rd party framework. I think this makes all the difference in the world. Once we import a 3rd party framework, we also import the concept of dependency management and the many issues that accompany it. But standard library features are freebies.
Just when I thought my one-liner could not be beaten! This is the best solution because reusing a built-in capability is preferable to reinventing it.
For one, you don't need to send a link to your solution. There's a "View Solution" button under every commenter, which allows anyone to view the commenter's solution.
For another, your solution being more clever is definitely one of the possible opinions... doesn't make it true though.
This is clever, but not very interesting actually :\
Same. Well, might have been a holey 45 minutes.
I love the Python experience of trying to figure out bitwise operations for a solid 30 min and then seeing this as the top answer.
lmao
RTFM
This comment is hidden because it contains spoiler information about the solution
LOL
Well... It does work and it might be the best practice to use the library function rather than invent the wheel. However it was supposed to be a challenge to find your own solution, wasn't it.
Take a breath
beautiful and genius
hahahahahaha this made me laugh out loud
Wow, you been sleeping for so long and woke up just to realise it is actually your work! Well claimed.
You literally just use somebody else's function to do your dirty work. Wow. I mean, sure that's a valid answer but here's me who did so much work
Loading more items...