3 years ago but this is a solution in python. If you want a solution using a different language, check the solution for a different language. Why should you not use an optimal solution in the language you are practicing in just because some other language can't use the same solution? In fact, if this can ONLY be done in python, that makes it more pythonic by definition which is generally considered a plus by most python afficionados.
very nice
This comment is hidden because it contains spoiler information about the solution
There is always solution beyond my imagination!
👏👏👏
smart guy
first one I got on the first try!!
Well it should be best practice cause mine is the real clever one
how does or 1 appear there has to be return ) rightz??
я в шоке, это прекрасно
3 years ago but this is a solution in python. If you want a solution using a different language, check the solution for a different language. Why should you not use an optimal solution in the language you are practicing in just because some other language can't use the same solution? In fact, if this can ONLY be done in python, that makes it more pythonic by definition which is generally considered a plus by most python afficionados.
This comment is hidden because it contains spoiler information about the solution
Heck, wish I'd thought of that. Nice!
Best!
im so confused man
good one
Loading more items...