/**
 * The function takes in two arguments: a list of fruits and the current season.
 * It appends the fruits that are in season to the list of fruits.
 *
 * @param fruits A list of fruits.
 * @param season The current season.
 * @return The updated list of fruits with the fruits that are in season appended.
 */
fun harvest(fruits: MutableList<String>, season: String): MutableList<String> {

    if (season == "spring") {
        fruits.add("strawberry")
        fruits.add("mango")
    } else if (season == "summer") {
        fruits.add("watermelon")
        fruits.add("grape")
        fruits.add("peach")
    } else if (season == "autumn") {
        fruits.add("apple")
        fruits.add("orange")
    } else if (season == "winter") {
        fruits.add("pear")
        fruits.add("kiwi")
        fruits.add("banana")
    }

    return fruits
}
/**
 * The function takes in two arguments: a list of fruits and the current season.
 * It appends the fruits that are in season to the list of fruits.
 *
 * @param fruits A list of fruits.
 * @param season The current season.
 * @return The updated list of fruits with the fruits that are in season appended.
 */
fun harvest(fruits: MutableList<String>, season: String): MutableList<String> {
/**
 * The function takes in two arguments: a list of fruits and the current season.
 * It appends the fruits that are in season to the list of fruits.
 *
 * @param fruits A list of fruits.
 * @param season The current season.
 * @return The updated list of fruits with the fruits that are in season appended.
 */
fun harvest(fruits: MutableList<String>, season: String): MutableList<String> {

    if (season == "spring") {
        fruits.add("strawberry")
        fruits.add("mango")
    } else if (season == "summer") {
        fruits.add("watermelon")
        fruits.add("grape")
        fruits.add("peach")
    } else if (season == "autumn") {
        fruits.add("apple")
        fruits.add("orange")
    } else if (season == "winter") {
        fruits.add("pear")
        fruits.add("kiwi")
        fruits.add("banana")
    }

    return fruits
}