/**
 * Given a range of values, create a tuple containing only the values that are divisible
 * by a given modulus.
 */
fun createTupleModulus(rangeStart: Int, rangeEnd: Int, modulus: Int): List<Int> {

    // Generate a list of values within the given range that are divisible by the modulus
    val divisibleValues = mutableListOf<Int>()
    for (i in rangeStart until rangeEnd) {
        if (i % modulus == 0) {
            divisibleValues.add(i)
        }
    }

    return divisibleValues
}

// Example usage
/**
 * Given a range of values, create a tuple containing only the values that are divisible
 * by a given modulus.
 */
fun createTupleModulus(rangeStart: Int, rangeEnd: Int, modulus: Int): List<Int> {
/**
 * Given a range of values, create a tuple containing only the values that are divisible
 * by a given modulus.
 */
fun createTupleModulus(rangeStart: Int, rangeEnd: Int, modulus: Int): List<Int> {

    // Generate a list of values within the given range that are divisible by the modulus
    val divisibleValues = mutableListOf<Int>()
    for (i in rangeStart until rangeEnd) {
        if (i % modulus == 0) {
            divisibleValues.add(i)
        }
    }

    return divisibleValues
}

// Example usage