/**
 * This function takes a string as input and prints the characters in the specified range.
 * The function accepts two indices, start and end, to specify the range of characters to be printed.
 */
fun printSelectedCharacters(text: String, start: Int, end: Int) {

    for (i in start until end) {
        print(text[i])
    }
}

// Example usage:
/**
 * This function takes a string as input and prints the characters in the specified range.
 * The function accepts two indices, start and end, to specify the range of characters to be printed.
 */
fun printSelectedCharacters(text: String, start: Int, end: Int) {
/**
 * This function takes a string as input and prints the characters in the specified range.
 * The function accepts two indices, start and end, to specify the range of characters to be printed.
 */
fun printSelectedCharacters(text: String, start: Int, end: Int) {

    for (i in start until end) {
        print(text[i])
    }
}

// Example usage: