/**
 * You are an interior designer and want to create a function to append a new design to a list of designs.
 * Additionally, you want to modify the new design by performing certain operations on it.
 *
 * Complete the function below to append the new design to the existing list and modify it by executing the specified operations.
 *
 * @param designs A list of existing designs.
 * @param newDesign The new design to be appended to the list.
 * @param modification A string representing the modifications to be applied.
 * @return The modified list of designs with the new design appended.
 *
 * Example:
 * designs = ['Eclectic', 'Minimalist', 'Industrial']
 * newDesign = 'Scandinavian'
 * modification = '.toUpperCase().replace("A", "E")'
 *
 * appendAndModifyDesignList(designs, newDesign, modification) -> ['Eclectic', 'Minimalist', 'Industrial', 'SCENDINIVIAN']
 */
fun appendAndModifyDesignList(designs: MutableList<String>, newDesign: String, modification: String): List<String> {

    designs.add(newDesign + modification)
    return designs
}
/**
 * You are an interior designer and want to create a function to append a new design to a list of designs.
 * Additionally, you want to modify the new design by performing certain operations on it.
 *
 * Complete the function below to append the new design to the existing list and modify it by executing the specified operations.
 *
 * @param designs A list of existing designs.
 * @param newDesign The new design to be appended to the list.
 * @param modification A string representing the modifications to be applied.
 * @return The modified list of designs with the new design appended.
 *
 * Example:
 * designs = ['Eclectic', 'Minimalist', 'Industrial']
 * newDesign = 'Scandinavian'
 * modification = '.toUpperCase().replace("A", "E")'
 *
 * appendAndModifyDesignList(designs, newDesign, modification) -> ['Eclectic', 'Minimalist', 'Industrial', 'SCENDINIVIAN']
 */
fun appendAndModifyDesignList(designs: MutableList<String>, newDesign: String, modification: String): List<String> {
/**
 * You are an interior designer and want to create a function to append a new design to a list of designs.
 * Additionally, you want to modify the new design by performing certain operations on it.
 *
 * Complete the function below to append the new design to the existing list and modify it by executing the specified operations.
 *
 * @param designs A list of existing designs.
 * @param newDesign The new design to be appended to the list.
 * @param modification A string representing the modifications to be applied.
 * @return The modified list of designs with the new design appended.
 *
 * Example:
 * designs = ['Eclectic', 'Minimalist', 'Industrial']
 * newDesign = 'Scandinavian'
 * modification = '.toUpperCase().replace("A", "E")'
 *
 * appendAndModifyDesignList(designs, newDesign, modification) -> ['Eclectic', 'Minimalist', 'Industrial', 'SCENDINIVIAN']
 */
fun appendAndModifyDesignList(designs: MutableList<String>, newDesign: String, modification: String): List<String> {

    designs.add(newDesign + modification)
    return designs
}