/**
 * Given a string representing an actor/actress and two integer values for start and stop parameters,
 * create a tuple containing the actor/actress name and a range of numbers from start to stop (exclusive).
 * The actor/actress name should be converted to uppercase and the numbers in the range should be tripled.
 *
 * Example: createActorRangeTuple("Tom Hanks", 1, 5) should return ('TOM HANKS', [3, 6, 9, 12]).
 */
fun createActorRangeTuple(actorStr: String, start: Int, stop: Int): Pair<String, List<Int>> {

    // Convert actor/actress name to uppercase
    val actorName = actorStr.toUpperCase()

    // Create a range using start and stop parameters
    val numRange = (start until stop)

    // Triple each number in the range
    val tripledNums = numRange.map { it * 3 }

    // Return the tuple containing actor/actress name and the tripled numbers
    return Pair(actorName, tripledNums)
}
/**
 * Given a string representing an actor/actress and two integer values for start and stop parameters,
 * create a tuple containing the actor/actress name and a range of numbers from start to stop (exclusive).
 * The actor/actress name should be converted to uppercase and the numbers in the range should be tripled.
 *
 * Example: createActorRangeTuple("Tom Hanks", 1, 5) should return ('TOM HANKS', [3, 6, 9, 12]).
 */
fun createActorRangeTuple(actorStr: String, start: Int, stop: Int): Pair<String, List<Int>> {
/**
 * Given a string representing an actor/actress and two integer values for start and stop parameters,
 * create a tuple containing the actor/actress name and a range of numbers from start to stop (exclusive).
 * The actor/actress name should be converted to uppercase and the numbers in the range should be tripled.
 *
 * Example: createActorRangeTuple("Tom Hanks", 1, 5) should return ('TOM HANKS', [3, 6, 9, 12]).
 */
fun createActorRangeTuple(actorStr: String, start: Int, stop: Int): Pair<String, List<Int>> {

    // Convert actor/actress name to uppercase
    val actorName = actorStr.toUpperCase()

    // Create a range using start and stop parameters
    val numRange = (start until stop)

    // Triple each number in the range
    val tripledNums = numRange.map { it * 3 }

    // Return the tuple containing actor/actress name and the tripled numbers
    return Pair(actorName, tripledNums)
}