/**
 * This function allows an artist to draw a specific pattern.
 *
 * @param artistName a string representing the name of the artist
 * @param pattern a string representing the desired pattern
 */
fun drawPattern(artistName: String, pattern: String) {

    // Mapping of artist names to patterns
    val patterns = mapOf(
        "Alice" to "*****-----",
        "Bob" to "*****|||||",
        "Carol" to "*****#####",
        "Dave" to "*****$$$$$"
    )

    if (artistName !in patterns) {
        println("Invalid artist name. Please choose from: Alice, Bob, Carol, Dave.")
        return
    }

    val selectedPattern = patterns[artistName]
}
/**
 * This function allows an artist to draw a specific pattern.
 *
 * @param artistName a string representing the name of the artist
 * @param pattern a string representing the desired pattern
 */
fun drawPattern(artistName: String, pattern: String) {
/**
 * This function allows an artist to draw a specific pattern.
 *
 * @param artistName a string representing the name of the artist
 * @param pattern a string representing the desired pattern
 */
fun drawPattern(artistName: String, pattern: String) {

    // Mapping of artist names to patterns
    val patterns = mapOf(
        "Alice" to "*****-----",
        "Bob" to "*****|||||",
        "Carol" to "*****#####",
        "Dave" to "*****$$$$$"
    )

    if (artistName !in patterns) {
        println("Invalid artist name. Please choose from: Alice, Bob, Carol, Dave.")
        return
    }

    val selectedPattern = patterns[artistName]
}