/**
 * This exercise focuses on the XOR operator and creating a range with start and stop parameters.
 * The goal is to write a function that returns the XOR of all the numbers within the given range,
 * excluding the start and stop values themselves.
 */
fun xorRange(start: Int, stop: Int): Int {

    var result = start
    for (i in start + 1 until stop) {
        result = result xor i
    }
    return result
}
/**
 * This exercise focuses on the XOR operator and creating a range with start and stop parameters.
 * The goal is to write a function that returns the XOR of all the numbers within the given range,
 * excluding the start and stop values themselves.
 */
fun xorRange(start: Int, stop: Int): Int {
/**
 * This exercise focuses on the XOR operator and creating a range with start and stop parameters.
 * The goal is to write a function that returns the XOR of all the numbers within the given range,
 * excluding the start and stop values themselves.
 */
fun xorRange(start: Int, stop: Int): Int {

    var result = start
    for (i in start + 1 until stop) {
        result = result xor i
    }
    return result
}