/**
 * Write a list comprehension that filters out all the numbers in the given 'numbers' list that are less than the 'threshold'.
 *
 * @param numbers A list of integers.
 * @param threshold An integer representing the threshold value.
 * @return A list of integers where each element is greater than or equal to the 'threshold'.
 *
 * Example:
 * lessThanListComprehension(listOf(1, 5, 10, 15, 20, 25, 30), 15) -> [15, 20, 25, 30]
 */
fun lessThanListComprehension(numbers: List<Int>, threshold: Int): List<Int> {

    return numbers.filter { it >= threshold }
}
/**
 * Write a list comprehension that filters out all the numbers in the given 'numbers' list that are less than the 'threshold'.
 *
 * @param numbers A list of integers.
 * @param threshold An integer representing the threshold value.
 * @return A list of integers where each element is greater than or equal to the 'threshold'.
 *
 * Example:
 * lessThanListComprehension(listOf(1, 5, 10, 15, 20, 25, 30), 15) -> [15, 20, 25, 30]
 */
fun lessThanListComprehension(numbers: List<Int>, threshold: Int): List<Int> {
/**
 * Write a list comprehension that filters out all the numbers in the given 'numbers' list that are less than the 'threshold'.
 *
 * @param numbers A list of integers.
 * @param threshold An integer representing the threshold value.
 * @return A list of integers where each element is greater than or equal to the 'threshold'.
 *
 * Example:
 * lessThanListComprehension(listOf(1, 5, 10, 15, 20, 25, 30), 15) -> [15, 20, 25, 30]
 */
fun lessThanListComprehension(numbers: List<Int>, threshold: Int): List<Int> {

    return numbers.filter { it >= threshold }
}