Even numbers

Report a typo

Create a function called even() that takes a number as an argument. If the number is even, return it. Otherwise, use the assert keyword.

You do not need to take any input or call the function yourself.

Write a program in Python 3
def even(x):
...
___

Create a free account to access the full topic