Even or odd
easyBasics10 XP
Return True (JavaScript: true) if the whole number n is even, otherwise False.
Examples
- Input: n = 4Output: true
- Input: n = 7Output: false
Examples use JSON: true/false/null are True/False/None in Python.