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.
Can you please help me better understand what's going on?
Given that:
I would have thought that the
or
operator wouldn't work because, as I understand it,int('')
isn't either True or False... can you enlighten me please?Could anyone provide a little feedback into the thinking that resulted into this solution. Thanks
i must practice to master one liners like this!
best solution
hack
What a amzing trick .
I did't know about this triсk with or so I wrote pretty ugly one-liner. Amazing that learning something is possible even in such easy katas.
So simple and clever
We are not in 1960 and this is Python. There is no significant difference in speed on modern CPUs for this trivial task.
Use spoiler flag next time, please.
This comment is hidden because it contains spoiler information about the solution
lool, I didn't know you can do that.
Ikr !!
my solution is tricky haha
SELECT TOP(5) in MSSQL is pretty straightforward, I like this syntax the most among all databases.
Loading more items...