/**
 * Given a list of numbers and a threshold value, delete all the elements from the list that are less than the threshold.
 *
 * @param numbersList A list of numbers.
 * @param threshold The minimum value allowed.
 * @return The updated list after deleting the elements less than the threshold.
 *
 * Example:
 * deleteElementsLessThan(listOf(1, 2, 3, 4, 5), 3) -> [3, 4, 5]
 * deleteElementsLessThan(listOf(10, 20, 30, 40, 50), 40) -> [40, 50]
 */
fun deleteElementsLessThan(numbersList: List<Int>, threshold: Int): List<Int> {

    return numbersList.filter { it >= threshold }
}
/**
 * Given a list of numbers and a threshold value, delete all the elements from the list that are less than the threshold.
 *
 * @param numbersList A list of numbers.
 * @param threshold The minimum value allowed.
 * @return The updated list after deleting the elements less than the threshold.
 *
 * Example:
 * deleteElementsLessThan(listOf(1, 2, 3, 4, 5), 3) -> [3, 4, 5]
 * deleteElementsLessThan(listOf(10, 20, 30, 40, 50), 40) -> [40, 50]
 */
fun deleteElementsLessThan(numbersList: List<Int>, threshold: Int): List<Int> {
/**
 * Given a list of numbers and a threshold value, delete all the elements from the list that are less than the threshold.
 *
 * @param numbersList A list of numbers.
 * @param threshold The minimum value allowed.
 * @return The updated list after deleting the elements less than the threshold.
 *
 * Example:
 * deleteElementsLessThan(listOf(1, 2, 3, 4, 5), 3) -> [3, 4, 5]
 * deleteElementsLessThan(listOf(10, 20, 30, 40, 50), 40) -> [40, 50]
 */
fun deleteElementsLessThan(numbersList: List<Int>, threshold: Int): List<Int> {

    return numbersList.filter { it >= threshold }
}