Logical Evens
EasyP3Coding
Return true if both one and two are even, otherwise false.
Example 1
- Input
- one = 2, two = 4
- Output
- true
Example 2
- Input
- one = 2, two = 3
- Output
- false
Example 3
- Input
- one = 3, two = 2
- Output
- false
Constraints
- -10^9 <= one, two <= 10^9
Hints
Give it a real attempt first. Run shows which examples fail.
Saved automatically
Run checks the 3 visible tests, Submit all 8. ⌘Enter runs, ⌘⇧Enter submits.