/**
 * In this exercise, you need to write a loop that iterates over the indexes of a given list of integers.
 *
 * @param list The list of integers to loop over.
 */
fun loopOverIndexes(list: List<Int>) {

    // Loop over the indexes of the list
    for (i in list.indices) {
        // Perform some operations using the index i and the values in the list
        println("Index: $i, Value: ${list[i]}")
    }
}
/**
 * In this exercise, you need to write a loop that iterates over the indexes of a given list of integers.
 *
 * @param list The list of integers to loop over.
 */
fun loopOverIndexes(list: List<Int>) {
/**
 * In this exercise, you need to write a loop that iterates over the indexes of a given list of integers.
 *
 * @param list The list of integers to loop over.
 */
fun loopOverIndexes(list: List<Int>) {

    // Loop over the indexes of the list
    for (i in list.indices) {
        // Perform some operations using the index i and the values in the list
        println("Index: $i, Value: ${list[i]}")
    }
}