/**
 * Given a list and a range, remove all even numbers from the list that fall within that range.
 *
 * @param lst List of numbers
 * @param start Starting range
 * @param end Ending range
 * @return A new list with the even numbers removed
 *
 * Example:
 * removeEvenNumbers(listOf(1, 2, 3, 4, 5, 6, 7, 8, 9, 10), 3, 8)
 * Output: [1, 3, 5, 7]
 */
fun removeEvenNumbers(lst: List<Int>, start: Int, end: Int): List<Int> {

    val result = mutableListOf<Int>()
    for (num in lst) {
        if (num % 2 != 0 || num < start || num > end) {
            result.add(num)
        }
    }
    return result
}
/**
 * Given a list and a range, remove all even numbers from the list that fall within that range.
 *
 * @param lst List of numbers
 * @param start Starting range
 * @param end Ending range
 * @return A new list with the even numbers removed
 *
 * Example:
 * removeEvenNumbers(listOf(1, 2, 3, 4, 5, 6, 7, 8, 9, 10), 3, 8)
 * Output: [1, 3, 5, 7]
 */
fun removeEvenNumbers(lst: List<Int>, start: Int, end: Int): List<Int> {
/**
 * Given a list and a range, remove all even numbers from the list that fall within that range.
 *
 * @param lst List of numbers
 * @param start Starting range
 * @param end Ending range
 * @return A new list with the even numbers removed
 *
 * Example:
 * removeEvenNumbers(listOf(1, 2, 3, 4, 5, 6, 7, 8, 9, 10), 3, 8)
 * Output: [1, 3, 5, 7]
 */
fun removeEvenNumbers(lst: List<Int>, start: Int, end: Int): List<Int> {

    val result = mutableListOf<Int>()
    for (num in lst) {
        if (num % 2 != 0 || num < start || num > end) {
            result.add(num)
        }
    }
    return result
}