/**
 * Calculates the relative brightness of two stars and creates a tuple based on the comparison.
 *
 * @param star1 The brightness of star 1
 * @param star2 The brightness of star 2
 * @return A tuple indicating how star 1's brightness compares to star 2's brightness.
 * The tuple contains:
 * - 'Star_1_Brighter' if star 1 is brighter than star 2
 * - 'Star_2_Brighter' if star 2 is brighter than star 1
 * - 'Equal_Brightness' if both stars have the same brightness
 *
 * Example:
 * val star1Brightness = 3.5
 * val star2Brightness = 4.2
 * println(getStarBrightness(star1Brightness, star2Brightness))
 * Output: ('Star_2_Brighter',)
 */
fun getStarBrightness(star1: Double, star2: Double): Pair<String, String> {

    return when {
        star1 > star2 -> Pair("Star_1_Brighter", "")
        star1 < star2 -> Pair("Star_2_Brighter", "")
        else -> Pair("Equal_Brightness", "")
    }
}
/**
 * Calculates the relative brightness of two stars and creates a tuple based on the comparison.
 *
 * @param star1 The brightness of star 1
 * @param star2 The brightness of star 2
 * @return A tuple indicating how star 1's brightness compares to star 2's brightness.
 * The tuple contains:
 * - 'Star_1_Brighter' if star 1 is brighter than star 2
 * - 'Star_2_Brighter' if star 2 is brighter than star 1
 * - 'Equal_Brightness' if both stars have the same brightness
 *
 * Example:
 * val star1Brightness = 3.5
 * val star2Brightness = 4.2
 * println(getStarBrightness(star1Brightness, star2Brightness))
 * Output: ('Star_2_Brighter',)
 */
fun getStarBrightness(star1: Double, star2: Double): Pair<String, String> {
/**
 * Calculates the relative brightness of two stars and creates a tuple based on the comparison.
 *
 * @param star1 The brightness of star 1
 * @param star2 The brightness of star 2
 * @return A tuple indicating how star 1's brightness compares to star 2's brightness.
 * The tuple contains:
 * - 'Star_1_Brighter' if star 1 is brighter than star 2
 * - 'Star_2_Brighter' if star 2 is brighter than star 1
 * - 'Equal_Brightness' if both stars have the same brightness
 *
 * Example:
 * val star1Brightness = 3.5
 * val star2Brightness = 4.2
 * println(getStarBrightness(star1Brightness, star2Brightness))
 * Output: ('Star_2_Brighter',)
 */
fun getStarBrightness(star1: Double, star2: Double): Pair<String, String> {

    return when {
        star1 > star2 -> Pair("Star_1_Brighter", "")
        star1 < star2 -> Pair("Star_2_Brighter", "")
        else -> Pair("Equal_Brightness", "")
    }
}