/**
 * This function takes in the name of an actor or actress as input and returns information about them.
 */
fun fetchInfo(name: String): Map<String, Any>? {

    val actors = mapOf(
        "Tom Hanks" to mapOf("Age" to 64, "Nationality" to "American", "Height (cm)" to 183, "Movies" to listOf("Forrest Gump", "The Da Vinci Code", "Saving Private Ryan")),
        "Meryl Streep" to mapOf("Age" to 71, "Nationality" to "American", "Height (cm)" to 171, "Movies" to listOf("The Devil Wears Prada", "Mamma Mia!", "Sophie's Choice")),
        "Leonardo DiCaprio" to mapOf("Age" to 46, "Nationality" to "American", "Height (cm)" to 183, "Movies" to listOf("Titanic", "The Revenant", "Inception")),
        "Scarlett Johansson" to mapOf("Age" to 36, "Nationality" to "American", "Height (cm)" to 160, "Movies" to listOf("Lost in Translation", "The Avengers", "Marriage Story"))
    )

    return actors[name]
}
/**
 * This function takes in the name of an actor or actress as input and returns information about them.
 */
fun fetchInfo(name: String): Map<String, Any>? {
/**
 * This function takes in the name of an actor or actress as input and returns information about them.
 */
fun fetchInfo(name: String): Map<String, Any>? {

    val actors = mapOf(
        "Tom Hanks" to mapOf("Age" to 64, "Nationality" to "American", "Height (cm)" to 183, "Movies" to listOf("Forrest Gump", "The Da Vinci Code", "Saving Private Ryan")),
        "Meryl Streep" to mapOf("Age" to 71, "Nationality" to "American", "Height (cm)" to 171, "Movies" to listOf("The Devil Wears Prada", "Mamma Mia!", "Sophie's Choice")),
        "Leonardo DiCaprio" to mapOf("Age" to 46, "Nationality" to "American", "Height (cm)" to 183, "Movies" to listOf("Titanic", "The Revenant", "Inception")),
        "Scarlett Johansson" to mapOf("Age" to 36, "Nationality" to "American", "Height (cm)" to 160, "Movies" to listOf("Lost in Translation", "The Avengers", "Marriage Story"))
    )

    return actors[name]
}