/**
 * Multiply each element in a given list by a given multiplier.
 *
 * @param numbers A list of integers.
 * @param multiplier The number to multiply each element by.
 * @return A new list with the multiplied elements.
 */
fun multiplyElements(numbers: List<Int>, multiplier: Int): List<Int> {

    val multipliedList = mutableListOf<Int>()
    
    for (num in numbers) {
        // Multiply the current number by the multiplier and add it to the new list
        multipliedList.add(num * multiplier)
    }
    
    return multipliedList
}
/**
 * Multiply each element in a given list by a given multiplier.
 *
 * @param numbers A list of integers.
 * @param multiplier The number to multiply each element by.
 * @return A new list with the multiplied elements.
 */
fun multiplyElements(numbers: List<Int>, multiplier: Int): List<Int> {
/**
 * Multiply each element in a given list by a given multiplier.
 *
 * @param numbers A list of integers.
 * @param multiplier The number to multiply each element by.
 * @return A new list with the multiplied elements.
 */
fun multiplyElements(numbers: List<Int>, multiplier: Int): List<Int> {

    val multipliedList = mutableListOf<Int>()
    
    for (num in numbers) {
        // Multiply the current number by the multiplier and add it to the new list
        multipliedList.add(num * multiplier)
    }
    
    return multipliedList
}