/**
 * This function takes a start index and an end index, and returns a list of even numbers within that range.
 * The start index is inclusive and the end index is exclusive.
 */
fun getEvenNumbers(start: Int, end: Int): List<Int> {

    val numbers = mutableListOf<Int>()
    for (i in start until end) {
        if (i % 2 == 0) {
            numbers.add(i)
        }
    }
    return numbers
}
/**
 * This function takes a start index and an end index, and returns a list of even numbers within that range.
 * The start index is inclusive and the end index is exclusive.
 */
fun getEvenNumbers(start: Int, end: Int): List<Int> {
/**
 * This function takes a start index and an end index, and returns a list of even numbers within that range.
 * The start index is inclusive and the end index is exclusive.
 */
fun getEvenNumbers(start: Int, end: Int): List<Int> {

    val numbers = mutableListOf<Int>()
    for (i in start until end) {
        if (i % 2 == 0) {
            numbers.add(i)
        }
    }
    return numbers
}