/**
 * This function takes in three parameters: start, stop, and multiplier.
 * It multiplies each number in a range created using start and stop parameters with the multiplier.
 * The function returns a list of the multiplied values.
 *
 * Example:
 * multiplyAndCreateRange(1, 5, 2) returns [2, 4, 6, 8, 10]
 */
fun multiplyAndCreateRange(start: Int, stop: Int, multiplier: Int): List<Int> {

    // Create an empty list to store the multiplied values
    val result = mutableListOf<Int>()

    // Iterate over the range created from start and stop parameters
    for (num in start until stop) {
        // Multiply each number by the multiplier and add it to the result list
        result.add(num * multiplier)
    }

    return result
}
/**
 * This function takes in three parameters: start, stop, and multiplier.
 * It multiplies each number in a range created using start and stop parameters with the multiplier.
 * The function returns a list of the multiplied values.
 *
 * Example:
 * multiplyAndCreateRange(1, 5, 2) returns [2, 4, 6, 8, 10]
 */
fun multiplyAndCreateRange(start: Int, stop: Int, multiplier: Int): List<Int> {
/**
 * This function takes in three parameters: start, stop, and multiplier.
 * It multiplies each number in a range created using start and stop parameters with the multiplier.
 * The function returns a list of the multiplied values.
 *
 * Example:
 * multiplyAndCreateRange(1, 5, 2) returns [2, 4, 6, 8, 10]
 */
fun multiplyAndCreateRange(start: Int, stop: Int, multiplier: Int): List<Int> {

    // Create an empty list to store the multiplied values
    val result = mutableListOf<Int>()

    // Iterate over the range created from start and stop parameters
    for (num in start until stop) {
        // Multiply each number by the multiplier and add it to the result list
        result.add(num * multiplier)
    }

    return result
}