/**
 * The function takes in two lists, colors and artistPalette.
 * It finds and returns the missing colors from the artist's palette.
 *
 * @param colors A list of all possible colors.
 * @param artistPalette A list of colors chosen by the artist.
 * @return A list of colors that are missing from the artist's palette.
 */
fun findMissingColors(colors: List<String>, artistPalette: List<String>): List<String> {

    val missingColors = mutableListOf<String>()
    
    // Loop through each color in colors
    for (color in colors) {
        // Check if the current color is not present in the artist's palette
        if (color !in artistPalette) {
            // Append the missing color to the missingColors list
            missingColors.add(color)
        }
    }
    
    return missingColors
}
/**
 * The function takes in two lists, colors and artistPalette.
 * It finds and returns the missing colors from the artist's palette.
 *
 * @param colors A list of all possible colors.
 * @param artistPalette A list of colors chosen by the artist.
 * @return A list of colors that are missing from the artist's palette.
 */
fun findMissingColors(colors: List<String>, artistPalette: List<String>): List<String> {
/**
 * The function takes in two lists, colors and artistPalette.
 * It finds and returns the missing colors from the artist's palette.
 *
 * @param colors A list of all possible colors.
 * @param artistPalette A list of colors chosen by the artist.
 * @return A list of colors that are missing from the artist's palette.
 */
fun findMissingColors(colors: List<String>, artistPalette: List<String>): List<String> {

    val missingColors = mutableListOf<String>()
    
    // Loop through each color in colors
    for (color in colors) {
        // Check if the current color is not present in the artist's palette
        if (color !in artistPalette) {
            // Append the missing color to the missingColors list
            missingColors.add(color)
        }
    }
    
    return missingColors
}