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.
Smart coder
Absolutely based.
This doesn't happen in the tests, so I guess we don't have to support that.
Very handful, indeed
Wow! That's neat! Thanks for the explanation.
The walrus operator, introduced in Python 3.8, allows you to do two things at the same time: assign a value to a variable and return that value, so sometimes you can write shorter and more readable code that can be even more computational and efficient.
What does the ":=" operator mean? Thanks
BRUH
Wow, very good solution! A bit verbose, but definitely better practice imo.
I mean, if you want a one-liner, you can't do much better, I think. But if you don't mind adding one line, you can get the max and min values above. But for this purpose, it's pointless, because it's not making a notable improvement in terms of performances.
This comment is hidden because it contains spoiler information about the solution
It must be a binary tree.
As long as you provide an expression that is of boolean type, you can do it! :)
Your genius was clean cut by the float type ahaha
Interesting, didn't know that until now! Thanks
Loading more items...