/**
 * Given a start and end value, modify the list elements using list comprehensions.
 *
 * @param start The starting value of the range (inclusive).
 * @param end The ending value of the range (exclusive).
 * @param increment The increment value.
 * @param multiplier The multiplier to apply to each element.
 * @return A modified list generated using list comprehensions.
 *
 * Example:
 * modifyListElements(0, 10, 2, 3) -> [0, 6, 12, 18, 24]
 */
fun modifyListElements(start: Int, end: Int, increment: Int, multiplier: Int): List<Int> {

    return (start until end step increment).map { it * multiplier }
}
/**
 * Given a start and end value, modify the list elements using list comprehensions.
 *
 * @param start The starting value of the range (inclusive).
 * @param end The ending value of the range (exclusive).
 * @param increment The increment value.
 * @param multiplier The multiplier to apply to each element.
 * @return A modified list generated using list comprehensions.
 *
 * Example:
 * modifyListElements(0, 10, 2, 3) -> [0, 6, 12, 18, 24]
 */
fun modifyListElements(start: Int, end: Int, increment: Int, multiplier: Int): List<Int> {
/**
 * Given a start and end value, modify the list elements using list comprehensions.
 *
 * @param start The starting value of the range (inclusive).
 * @param end The ending value of the range (exclusive).
 * @param increment The increment value.
 * @param multiplier The multiplier to apply to each element.
 * @return A modified list generated using list comprehensions.
 *
 * Example:
 * modifyListElements(0, 10, 2, 3) -> [0, 6, 12, 18, 24]
 */
fun modifyListElements(start: Int, end: Int, increment: Int, multiplier: Int): List<Int> {

    return (start until end step increment).map { it * multiplier }
}