/**
 * You need to write a Kotlin code that takes a starting and ending number as input, and creates a tuple containing all the numbers between and including the start and end values using a loop.
 *
 * For example, if the start is 1 and the end is 5, the function should return the tuple (1, 2, 3, 4, 5).
 *
 * Your task is to complete the code to solve this exercise. Make sure to use a loop to generate the tuple efficiently.
 */
fun createTupleFromRange(start: Int, end: Int): List<Int> {

    val numbers = mutableListOf<Int>()  // Empty list to store the numbers
    
    for (num in start..end) {
        numbers.add(num)  // Add each number to the list
    }
    
    return numbers  // Return the list
}
/**
 * You need to write a Kotlin code that takes a starting and ending number as input, and creates a tuple containing all the numbers between and including the start and end values using a loop.
 *
 * For example, if the start is 1 and the end is 5, the function should return the tuple (1, 2, 3, 4, 5).
 *
 * Your task is to complete the code to solve this exercise. Make sure to use a loop to generate the tuple efficiently.
 */
fun createTupleFromRange(start: Int, end: Int): List<Int> {
/**
 * You need to write a Kotlin code that takes a starting and ending number as input, and creates a tuple containing all the numbers between and including the start and end values using a loop.
 *
 * For example, if the start is 1 and the end is 5, the function should return the tuple (1, 2, 3, 4, 5).
 *
 * Your task is to complete the code to solve this exercise. Make sure to use a loop to generate the tuple efficiently.
 */
fun createTupleFromRange(start: Int, end: Int): List<Int> {

    val numbers = mutableListOf<Int>()  // Empty list to store the numbers
    
    for (num in start..end) {
        numbers.add(num)  // Add each number to the list
    }
    
    return numbers  // Return the list
}