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]
import unittest


class ReturnListTest(unittest.TestCase):
    def test_return_list(self):
        self.assertEqual(return_list(10), [2, 4, 6, 8])
        self.assertEqual(return_list(4), [2])
        self.assertEqual(return_list(20), [2, 4, 6, 8, 10, 12, 14, 16, 18])
        self.assertEqual(return_list(15), [2, 4, 6, 8, 10, 12, 14])