You used my previous solution ;)
0 is False and 1 is True
do you want it to return 0 when not even, and 1 when even?
This comment is hidden because it contains spoiler information about the solution
Nice, this makes it easily generalizable to any number of divisors.
That's slick!
Loading collection data...
You used my previous solution ;)
0 is False and 1 is True
do you want it to return 0 when not even, and 1 when even?
This comment is hidden because it contains spoiler information about the solution
Nice, this makes it easily generalizable to any number of divisors.
That's slick!