/**
 * This function takes a list of numbers and a multiplier.
 * It multiplies each element in the list by the multiplier using the multiplication assignment operator.
 */
fun multiplyElements(numbers: MutableList<Int>, multiplier: Int): List<Int> {

    // Iterate through each element in the list
    for (i in numbers.indices) {
        // Multiply each element by the multiplier
        numbers[i] *= multiplier
    }
    // Return the updated list
    return numbers
}
/**
 * This function takes a list of numbers and a multiplier.
 * It multiplies each element in the list by the multiplier using the multiplication assignment operator.
 */
fun multiplyElements(numbers: MutableList<Int>, multiplier: Int): List<Int> {
/**
 * This function takes a list of numbers and a multiplier.
 * It multiplies each element in the list by the multiplier using the multiplication assignment operator.
 */
fun multiplyElements(numbers: MutableList<Int>, multiplier: Int): List<Int> {

    // Iterate through each element in the list
    for (i in numbers.indices) {
        // Multiply each element by the multiplier
        numbers[i] *= multiplier
    }
    // Return the updated list
    return numbers
}