/**
 * Biomedical Exercise: Creating a Tuple from a Range of Values
 *
 * This exercise requires you to write a function that takes a start and end value and returns a tuple of all
 * the numbers within that range, excluding the start and end values.
 *
 * Example:
 * createTupleFromRange(3, 8) -> (4, 5, 6, 7)
 * createTupleFromRange(10, 15) -> (11, 12, 13, 14)
 *
 * Your task is to complete the function code below.
 */
fun createTupleFromRange(start: Int, end: Int): List<Int> {

    // Initialize an empty list to store the numbers within the range
    val numbers = mutableListOf<Int>()

    // Iterate over the range of values, excluding the start and end values
    for (num in (start + 1) until end) {
        // Add the current number to the list
        numbers.add(num)
    }

    // Return the list of all the numbers within the range
    return numbers
}
/**
 * Biomedical Exercise: Creating a Tuple from a Range of Values
 *
 * This exercise requires you to write a function that takes a start and end value and returns a tuple of all
 * the numbers within that range, excluding the start and end values.
 *
 * Example:
 * createTupleFromRange(3, 8) -> (4, 5, 6, 7)
 * createTupleFromRange(10, 15) -> (11, 12, 13, 14)
 *
 * Your task is to complete the function code below.
 */
fun createTupleFromRange(start: Int, end: Int): List<Int> {
/**
 * Biomedical Exercise: Creating a Tuple from a Range of Values
 *
 * This exercise requires you to write a function that takes a start and end value and returns a tuple of all
 * the numbers within that range, excluding the start and end values.
 *
 * Example:
 * createTupleFromRange(3, 8) -> (4, 5, 6, 7)
 * createTupleFromRange(10, 15) -> (11, 12, 13, 14)
 *
 * Your task is to complete the function code below.
 */
fun createTupleFromRange(start: Int, end: Int): List<Int> {

    // Initialize an empty list to store the numbers within the range
    val numbers = mutableListOf<Int>()

    // Iterate over the range of values, excluding the start and end values
    for (num in (start + 1) until end) {
        // Add the current number to the list
        numbers.add(num)
    }

    // Return the list of all the numbers within the range
    return numbers
}