/**
 * In this exercise, you are a journalist assigned to create a list of numbers using the range function.
 * Your task is to write a Kotlin function that takes in two integers, 'start' and 'end', and returns a list of all
 * numbers from 'start' to 'end' (inclusive).
 *
 * For example, if 'start' is 1 and 'end' is 5, the function should return [1, 2, 3, 4, 5].
 *
 * Your function should handle both positive and negative integers as inputs.
 */
fun createListOfNumbers(start: Int, end: Int): List<Int> {

    return (start..end).toList()
}
/**
 * In this exercise, you are a journalist assigned to create a list of numbers using the range function.
 * Your task is to write a Kotlin function that takes in two integers, 'start' and 'end', and returns a list of all
 * numbers from 'start' to 'end' (inclusive).
 *
 * For example, if 'start' is 1 and 'end' is 5, the function should return [1, 2, 3, 4, 5].
 *
 * Your function should handle both positive and negative integers as inputs.
 */
fun createListOfNumbers(start: Int, end: Int): List<Int> {
/**
 * In this exercise, you are a journalist assigned to create a list of numbers using the range function.
 * Your task is to write a Kotlin function that takes in two integers, 'start' and 'end', and returns a list of all
 * numbers from 'start' to 'end' (inclusive).
 *
 * For example, if 'start' is 1 and 'end' is 5, the function should return [1, 2, 3, 4, 5].
 *
 * Your function should handle both positive and negative integers as inputs.
 */
fun createListOfNumbers(start: Int, end: Int): List<Int> {

    return (start..end).toList()
}