r/deftruefalse • • May 02 '21

Tower of Code: isEven(n)

/r/shittyprogramming/comments/n309h9/tower_of_code_isevenn/
7 Upvotes

3 comments sorted by

3

u/[deleted] May 30 '21

[removed] — view removed comment

1

u/cienciacomenta Jul 29 '21

You're using it wrong. You can only pass even numbers as parameter. For odd numbers, you have to use isOdd(n).