/**
 * You are an accountant at a company and you need to create a list of expenses with the initial amount for each expense.
 * Write a function to create this list of expenses.
 *
 * @param numExpenses A positive integer representing the number of expenses to create.
 * @param initialAmount A float representing the initial amount for each expense.
 * @return A list of expenses with each expense having the initialAmount as its value.
 *
 * Example:
 * createExpenseList(5, 100.0) -> [100.0, 100.0, 100.0, 100.0, 100.0]
 */
fun createExpenseList(numExpenses: Int, initialAmount: Float): List<Float> {

    val expenses = mutableListOf<Float>()  // Empty list to store the expenses
    
    for (i in 1..numExpenses) {
        expenses.add(initialAmount)
    }
    
    return expenses
}
/**
 * You are an accountant at a company and you need to create a list of expenses with the initial amount for each expense.
 * Write a function to create this list of expenses.
 *
 * @param numExpenses A positive integer representing the number of expenses to create.
 * @param initialAmount A float representing the initial amount for each expense.
 * @return A list of expenses with each expense having the initialAmount as its value.
 *
 * Example:
 * createExpenseList(5, 100.0) -> [100.0, 100.0, 100.0, 100.0, 100.0]
 */
fun createExpenseList(numExpenses: Int, initialAmount: Float): List<Float> {
/**
 * You are an accountant at a company and you need to create a list of expenses with the initial amount for each expense.
 * Write a function to create this list of expenses.
 *
 * @param numExpenses A positive integer representing the number of expenses to create.
 * @param initialAmount A float representing the initial amount for each expense.
 * @return A list of expenses with each expense having the initialAmount as its value.
 *
 * Example:
 * createExpenseList(5, 100.0) -> [100.0, 100.0, 100.0, 100.0, 100.0]
 */
fun createExpenseList(numExpenses: Int, initialAmount: Float): List<Float> {

    val expenses = mutableListOf<Float>()  // Empty list to store the expenses
    
    for (i in 1..numExpenses) {
        expenses.add(initialAmount)
    }
    
    return expenses
}