/**
 * This function checks if an electrician has the skills required for a specific task.
 *
 * @param electrician The name of the electrician.
 * @param tasks A list of tasks.
 * @return A list containing the tasks that the electrician can perform.
 */
fun electricianSkills(electrician: String, tasks: List<String>): List<String> {

    val availableTasks = mutableListOf<String>()

    // Check if the electrician has the skills for each task
    for (task in tasks) {
        if (electrician.contains(task)) {
            availableTasks.add(task)
        } else {
            // <-- Your code goes here -->
        }
    }

    return availableTasks
}
/**
 * This function checks if an electrician has the skills required for a specific task.
 *
 * @param electrician The name of the electrician.
 * @param tasks A list of tasks.
 * @return A list containing the tasks that the electrician can perform.
 */
fun electricianSkills(electrician: String, tasks: List<String>): List<String> {
/**
 * This function checks if an electrician has the skills required for a specific task.
 *
 * @param electrician The name of the electrician.
 * @param tasks A list of tasks.
 * @return A list containing the tasks that the electrician can perform.
 */
fun electricianSkills(electrician: String, tasks: List<String>): List<String> {

    val availableTasks = mutableListOf<String>()

    // Check if the electrician has the skills for each task
    for (task in tasks) {
        if (electrician.contains(task)) {
            availableTasks.add(task)
        } else {
            // <-- Your code goes here -->
        }
    }

    return availableTasks
}