Exercise 5 · Chapter: FunctionsRequired+50 XP
Is Even
Write a function is_even(n) that returns True if n is even, False if odd.
Read a number and print the result.
Example 1: Input 4 → Output True
Example 2: Input 7 → Output False
Need a hint?
3 available · costs 5 XP each
python
Output
Run your code to see the output here.