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.
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
smart
This comment is hidden because it contains spoiler information about the solution
odd + odd = even
even + even = even
odd + even = odd
================
0 = False
any number = true
The way I come to these solutions just to be absolutely humbled by basic math.
That's another nice approach
0 = False and any other number is True .. perfect
This comment is hidden because it contains spoiler information about the solution
Loading more items...