/**
 * This function takes a name and appends it to the given actorsList.
 *
 * @param name The name of the actor or actress to be appended.
 * @param actorsList The list containing the names of actors/actresses.
 * @return The updated actorsList with the new name appended.
 */
fun appendActor(name: String, actorsList: MutableList<String>): List<String> {

    actorsList.add(name)
    return actorsList
}
/**
 * This function takes a name and appends it to the given actorsList.
 *
 * @param name The name of the actor or actress to be appended.
 * @param actorsList The list containing the names of actors/actresses.
 * @return The updated actorsList with the new name appended.
 */
fun appendActor(name: String, actorsList: MutableList<String>): List<String> {
/**
 * This function takes a name and appends it to the given actorsList.
 *
 * @param name The name of the actor or actress to be appended.
 * @param actorsList The list containing the names of actors/actresses.
 * @return The updated actorsList with the new name appended.
 */
fun appendActor(name: String, actorsList: MutableList<String>): List<String> {

    actorsList.add(name)
    return actorsList
}