Number Range List

Craft a Python function that generates a list of integers inclusive of, and between, two given numbers.

Define a function using Python that, given two integers `a` and `b`, returns a list with all the integers in the range from `a` to `b`, both inclusive. ### Parameters - `a` (int): The starting integer of the sequence. - `b` (int): The ending integer of the sequence. ### Return Value - Returns a list containing every integer from `a` to `b`, both inclusive. ### Examples ```python # Generating a list of all integers from 1 to 4 range_list(1, 4) # Returns: [1, 2, 3, 4] # Generating a list of all integers from 5 to 10 range_list(5, 10) # Returns: [5, 6, 7, 8, 9, 10] # Generating a list of all integers from 999 to 1002 range_list(999, 1002) # Returns: [999, 1000, 1001, 1002] ```