/**
 * This function takes in the name, gender, age, and nationality of an actor/actress,
 * and creates a list with the initial elements set as strings, integers, and booleans.
 *
 * @param name a string representing the name of the actor/actress
 * @param gender a string representing the gender of the actor/actress
 * @param age an integer representing the age of the actor/actress
 * @param nationality a string representing the nationality of the actor/actress
 * @return A list with initial elements set as the provided arguments, in the following order: [name, gender, age, nationality]
 */
fun createActorList(name: String, gender: String, age: Int, nationality: String): List<Any> {

    return listOf(name, gender, age, nationality)
}

// Use slicing and list creation to complete the exercise
/**
 * This function takes in the name, gender, age, and nationality of an actor/actress,
 * and creates a list with the initial elements set as strings, integers, and booleans.
 *
 * @param name a string representing the name of the actor/actress
 * @param gender a string representing the gender of the actor/actress
 * @param age an integer representing the age of the actor/actress
 * @param nationality a string representing the nationality of the actor/actress
 * @return A list with initial elements set as the provided arguments, in the following order: [name, gender, age, nationality]
 */
fun createActorList(name: String, gender: String, age: Int, nationality: String): List<Any> {
/**
 * This function takes in the name, gender, age, and nationality of an actor/actress,
 * and creates a list with the initial elements set as strings, integers, and booleans.
 *
 * @param name a string representing the name of the actor/actress
 * @param gender a string representing the gender of the actor/actress
 * @param age an integer representing the age of the actor/actress
 * @param nationality a string representing the nationality of the actor/actress
 * @return A list with initial elements set as the provided arguments, in the following order: [name, gender, age, nationality]
 */
fun createActorList(name: String, gender: String, age: Int, nationality: String): List<Any> {

    return listOf(name, gender, age, nationality)
}

// Use slicing and list creation to complete the exercise