Learn
All right! Let’s get started.
Remember how an even number is a number that is divisible by 2?
Instructions
1.
Define a function is_even
that will take a number x
as input.
If x
is even, then return True
.
Otherwise, return False
.
Take this course for free
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.