Tile problems › T0906
Is it even?
The function isEven should return true if the number it gets is even, and false if it is odd. Right now it is always true, so every number comes out as even. Fix it.
A compare tile makes a value that is either true or false. If the comparison is right it is true, and if it is wrong it is false. You can return that value just as it is.
Sample input
4
Expected
even
Loading tiles…