/**
 * This function takes in three parameters: age (Int), gender (String), and income (Float).
 * It creates a marketing list based on the given parameters, containing dictionaries of customers.
 * Each dictionary represents a customer and includes keys 'Age', 'Gender', 'Income', and 'MarketingScore'.
 * The 'MarketingScore' is initially set to 0.
 * Returns the marketing list.
 */
fun createMarketingList(age: List<Int>, gender: List<String>, income: List<Float>): List<Map<String, Any>> {

    val marketingList = age.flatMap { i ->
        gender.flatMap { g ->
            income.map { ic ->
                mapOf("Age" to i, "Gender" to g, "Income" to ic, "MarketingScore" to 0)
            }
        }
    }
    return marketingList
}
/**
 * This function takes in three parameters: age (Int), gender (String), and income (Float).
 * It creates a marketing list based on the given parameters, containing dictionaries of customers.
 * Each dictionary represents a customer and includes keys 'Age', 'Gender', 'Income', and 'MarketingScore'.
 * The 'MarketingScore' is initially set to 0.
 * Returns the marketing list.
 */
fun createMarketingList(age: List<Int>, gender: List<String>, income: List<Float>): List<Map<String, Any>> {
/**
 * This function takes in three parameters: age (Int), gender (String), and income (Float).
 * It creates a marketing list based on the given parameters, containing dictionaries of customers.
 * Each dictionary represents a customer and includes keys 'Age', 'Gender', 'Income', and 'MarketingScore'.
 * The 'MarketingScore' is initially set to 0.
 * Returns the marketing list.
 */
fun createMarketingList(age: List<Int>, gender: List<String>, income: List<Float>): List<Map<String, Any>> {

    val marketingList = age.flatMap { i ->
        gender.flatMap { g ->
            income.map { ic ->
                mapOf("Age" to i, "Gender" to g, "Income" to ic, "MarketingScore" to 0)
            }
        }
    }
    return marketingList
}