/**
 * A carpenter needs to create a tuple containing length measurements
 * of cut pieces of wood. The carpenter wants to include pieces that are
 * longer than the specified length.
 * Write a Kotlin function that takes a cut value and a length value,
 * and returns a list containing all the lengths greater than the
 * specified length.
 * Use a filter function to check if each length is greater than the
 * specified length and add it to the list accordingly.
 * The list elements should be in ascending order.
 */
fun createTuple(cut: Int, length: Int): List<Int> {

    // Generate the range of length measurements
    val measurements = (1..10)

    // Create the list using the filter function
    val resultList = measurements.filter { it > length }

    return resultList
}
/**
 * A carpenter needs to create a tuple containing length measurements
 * of cut pieces of wood. The carpenter wants to include pieces that are
 * longer than the specified length.
 * Write a Kotlin function that takes a cut value and a length value,
 * and returns a list containing all the lengths greater than the
 * specified length.
 * Use a filter function to check if each length is greater than the
 * specified length and add it to the list accordingly.
 * The list elements should be in ascending order.
 */
fun createTuple(cut: Int, length: Int): List<Int> {
/**
 * A carpenter needs to create a tuple containing length measurements
 * of cut pieces of wood. The carpenter wants to include pieces that are
 * longer than the specified length.
 * Write a Kotlin function that takes a cut value and a length value,
 * and returns a list containing all the lengths greater than the
 * specified length.
 * Use a filter function to check if each length is greater than the
 * specified length and add it to the list accordingly.
 * The list elements should be in ascending order.
 */
fun createTuple(cut: Int, length: Int): List<Int> {

    // Generate the range of length measurements
    val measurements = (1..10)

    // Create the list using the filter function
    val resultList = measurements.filter { it > length }

    return resultList
}