/**
 * This function takes a list of known planets and a list of all planets in the universe and returns a list of missing planets.
 *
 * @param knownPlanets: a list of known planets (type: List)
 * @param allPlanets: a list of all planets in the universe (type: List)
 * @return missingPlanets: a list of missing planets (type: List)
 */
fun findMissingPlanets(knownPlanets: List<String>, allPlanets: List<String>): List<String> {

    val missingPlanets = mutableListOf<String>()

    // Iterate over each planet in the universe
    for (planet in allPlanets) {
        // Check if the planet is not present in the known planets list
        if (!knownPlanets.contains(planet)) {
            missingPlanets.add(planet)
        }
    }

    return missingPlanets
}
/**
 * This function takes a list of known planets and a list of all planets in the universe and returns a list of missing planets.
 *
 * @param knownPlanets: a list of known planets (type: List)
 * @param allPlanets: a list of all planets in the universe (type: List)
 * @return missingPlanets: a list of missing planets (type: List)
 */
fun findMissingPlanets(knownPlanets: List<String>, allPlanets: List<String>): List<String> {
/**
 * This function takes a list of known planets and a list of all planets in the universe and returns a list of missing planets.
 *
 * @param knownPlanets: a list of known planets (type: List)
 * @param allPlanets: a list of all planets in the universe (type: List)
 * @return missingPlanets: a list of missing planets (type: List)
 */
fun findMissingPlanets(knownPlanets: List<String>, allPlanets: List<String>): List<String> {

    val missingPlanets = mutableListOf<String>()

    // Iterate over each planet in the universe
    for (planet in allPlanets) {
        // Check if the planet is not present in the known planets list
        if (!knownPlanets.contains(planet)) {
            missingPlanets.add(planet)
        }
    }

    return missingPlanets
}