solutions

Return a list

Write a function that takes in a number N, then returns a list of even numbers that are less than N.

Do not include 0, nor the input number.

return_list(10) == [2, 4, 6, 8]
return_list(5) == [2, 4]

Test Cases

tests

[]