/**
 * This function compares two species based on their identity and equality.
 *
 * @param species1 The name of the first species.
 * @param species2 The name of the second species.
 * @return A message indicating the result of the comparison.
 */
fun compareSpecies(species1: String, species2: String): String {

    // Check if the species have the same identity and are equal
    if (species1 === species2 && species1 == species2) {
        return "$species1 is the same species as $species2 and they are equal in all aspects."
    }

    // Check if the species have the same identity but are not equal
    else if (species1 === species2 && species1 != species2) {
        return "$species1 is the same species as $species2, but they are not equal in all aspects."
    }

    // Check if the species have different identity but are equal
    else if (species1 == species2 && species1 !== species2) {
        return "$species1 and $species2 are different species, but they are equal in all aspects."
    }

    else {
        return "$species1 and $species2 are completely different species."
    }
}
/**
 * This function compares two species based on their identity and equality.
 *
 * @param species1 The name of the first species.
 * @param species2 The name of the second species.
 * @return A message indicating the result of the comparison.
 */
fun compareSpecies(species1: String, species2: String): String {
/**
 * This function compares two species based on their identity and equality.
 *
 * @param species1 The name of the first species.
 * @param species2 The name of the second species.
 * @return A message indicating the result of the comparison.
 */
fun compareSpecies(species1: String, species2: String): String {

    // Check if the species have the same identity and are equal
    if (species1 === species2 && species1 == species2) {
        return "$species1 is the same species as $species2 and they are equal in all aspects."
    }

    // Check if the species have the same identity but are not equal
    else if (species1 === species2 && species1 != species2) {
        return "$species1 is the same species as $species2, but they are not equal in all aspects."
    }

    // Check if the species have different identity but are equal
    else if (species1 == species2 && species1 !== species2) {
        return "$species1 and $species2 are different species, but they are equal in all aspects."
    }

    else {
        return "$species1 and $species2 are completely different species."
    }
}