/**
 * This function takes in two parameters, start and stop, and returns a list of numbers within that range.
 */
fun createRange(start: Int, stop: Int): List<Int> {

    // Use the range() function to create a range of numbers from start to stop
    val numbers = (start until stop).toList()

    // Return the list of numbers
    return numbers
}

// Exercise: Create a list containing even numbers from 10 to 50 (inclusive)

// Solution:
/**
 * This function takes in two parameters, start and stop, and returns a list of numbers within that range.
 */
fun createRange(start: Int, stop: Int): List<Int> {
/**
 * This function takes in two parameters, start and stop, and returns a list of numbers within that range.
 */
fun createRange(start: Int, stop: Int): List<Int> {

    // Use the range() function to create a range of numbers from start to stop
    val numbers = (start until stop).toList()

    // Return the list of numbers
    return numbers
}

// Exercise: Create a list containing even numbers from 10 to 50 (inclusive)

// Solution: