/**
 * This function takes a string and returns a tuple containing the string's length
 * and the count of uppercase letters in the string.
 *
 * Example:
 * createTupleFromString("Hello World") => Pair(11, 2)
 */
fun createTupleFromString(inputString: String): Pair<Int, Int> {

    var length = 0
    var uppercaseCount = 0

    inputString.forEach { char ->
        length++
        if (char.isUpperCase()) {
            uppercaseCount++
        }
    }

    return Pair(length, uppercaseCount)
}
/**
 * This function takes a string and returns a tuple containing the string's length
 * and the count of uppercase letters in the string.
 *
 * Example:
 * createTupleFromString("Hello World") => Pair(11, 2)
 */
fun createTupleFromString(inputString: String): Pair<Int, Int> {
/**
 * This function takes a string and returns a tuple containing the string's length
 * and the count of uppercase letters in the string.
 *
 * Example:
 * createTupleFromString("Hello World") => Pair(11, 2)
 */
fun createTupleFromString(inputString: String): Pair<Int, Int> {

    var length = 0
    var uppercaseCount = 0

    inputString.forEach { char ->
        length++
        if (char.isUpperCase()) {
            uppercaseCount++
        }
    }

    return Pair(length, uppercaseCount)
}