/**
 * You are a Marketing Manager and you need to access a specific value from a dictionary based on a condition.
 * Complete the code by using the ternary operator to check if the key exists in the dictionary.
 * If the key exists, assign its value to the 'result' variable; otherwise, assign 'Not Found'.
 *
 * @param dictionary A dictionary containing key-value pairs.
 * @param key The key you want to check in the dictionary.
 * @return The value associated with the key if it exists, otherwise 'Not Found'.
 */
fun ternaryOperation(dictionary: Map<String, String>, key: String): String {

    val result = dictionary[key] ?: "Not Found"
    return result
}
/**
 * You are a Marketing Manager and you need to access a specific value from a dictionary based on a condition.
 * Complete the code by using the ternary operator to check if the key exists in the dictionary.
 * If the key exists, assign its value to the 'result' variable; otherwise, assign 'Not Found'.
 *
 * @param dictionary A dictionary containing key-value pairs.
 * @param key The key you want to check in the dictionary.
 * @return The value associated with the key if it exists, otherwise 'Not Found'.
 */
fun ternaryOperation(dictionary: Map<String, String>, key: String): String {
/**
 * You are a Marketing Manager and you need to access a specific value from a dictionary based on a condition.
 * Complete the code by using the ternary operator to check if the key exists in the dictionary.
 * If the key exists, assign its value to the 'result' variable; otherwise, assign 'Not Found'.
 *
 * @param dictionary A dictionary containing key-value pairs.
 * @param key The key you want to check in the dictionary.
 * @return The value associated with the key if it exists, otherwise 'Not Found'.
 */
fun ternaryOperation(dictionary: Map<String, String>, key: String): String {

    val result = dictionary[key] ?: "Not Found"
    return result
}