/**
 * Given a start and stop parameter, create a range of odd numbers between them.
 *
 * @param start an integer representing the starting point of the range (inclusive)
 * @param stop an integer representing the stopping point of the range (exclusive)
 * @return a list of odd numbers within the specified range
 *
 * Example:
 * createOddRange(1, 10) -> [1, 3, 5, 7, 9]
 * createOddRange(-5, 5) -> [-5, -3, -1, 1, 3]
 * createOddRange(10, 20) -> [11, 13, 15, 17, 19]
 */
fun createOddRange(start: Int, stop: Int): List<Int> {

    val rangeList = (start until stop)
    val oddRange = rangeList.filter { it % 2 != 0 }
    return oddRange
}
/**
 * Given a start and stop parameter, create a range of odd numbers between them.
 *
 * @param start an integer representing the starting point of the range (inclusive)
 * @param stop an integer representing the stopping point of the range (exclusive)
 * @return a list of odd numbers within the specified range
 *
 * Example:
 * createOddRange(1, 10) -> [1, 3, 5, 7, 9]
 * createOddRange(-5, 5) -> [-5, -3, -1, 1, 3]
 * createOddRange(10, 20) -> [11, 13, 15, 17, 19]
 */
fun createOddRange(start: Int, stop: Int): List<Int> {
/**
 * Given a start and stop parameter, create a range of odd numbers between them.
 *
 * @param start an integer representing the starting point of the range (inclusive)
 * @param stop an integer representing the stopping point of the range (exclusive)
 * @return a list of odd numbers within the specified range
 *
 * Example:
 * createOddRange(1, 10) -> [1, 3, 5, 7, 9]
 * createOddRange(-5, 5) -> [-5, -3, -1, 1, 3]
 * createOddRange(10, 20) -> [11, 13, 15, 17, 19]
 */
fun createOddRange(start: Int, stop: Int): List<Int> {

    val rangeList = (start until stop)
    val oddRange = rangeList.filter { it % 2 != 0 }
    return oddRange
}