/**
 * Create a range with specified start and stop parameters.
 *
 * @param start The starting value of the range.
 * @param stop The ending value of the range.
 * @return A list of numbers within the range.
 *
 * Example:
 * createRangeWithStartAndStop(2, 9) should return [2, 3, 4, 5, 6, 7, 8].
 */
fun createRangeWithStartAndStop(start: Int, stop: Int): List<Int> {

    return if (start < stop) {
        (start until stop).toList()
    } else {
        emptyList()
    }
}
/**
 * Create a range with specified start and stop parameters.
 *
 * @param start The starting value of the range.
 * @param stop The ending value of the range.
 * @return A list of numbers within the range.
 *
 * Example:
 * createRangeWithStartAndStop(2, 9) should return [2, 3, 4, 5, 6, 7, 8].
 */
fun createRangeWithStartAndStop(start: Int, stop: Int): List<Int> {
/**
 * Create a range with specified start and stop parameters.
 *
 * @param start The starting value of the range.
 * @param stop The ending value of the range.
 * @return A list of numbers within the range.
 *
 * Example:
 * createRangeWithStartAndStop(2, 9) should return [2, 3, 4, 5, 6, 7, 8].
 */
fun createRangeWithStartAndStop(start: Int, stop: Int): List<Int> {

    return if (start < stop) {
        (start until stop).toList()
    } else {
        emptyList()
    }
}