/**
 * Retrieves a list of jobs based on an electrician's information tuple.
 *
 * @param electricianInfo Contains the electrician's details: (name, experience, license)
 * @return A list of available jobs for the electrician.
 */
fun electricianJobs(electricianInfo: Triple<String, Int, String>): List<String> {

    // Code to retrieve jobs based on electrician's details
    val (name, experience, license) = electricianInfo

    val jobs: List<String> = if ("journeyman" in license) {
        listOf(
            "Install electrical systems in residential properties",
            "Perform maintenance on existing electrical systems in commercial buildings",
            "Troubleshoot and repair electrical faults in industrial facilities"
        )
    } else {
        if (experience >= 4) {
            listOf(
                "Wiring new construction residential buildings",
                "Upgrade electrical panels in commercial properties",
                "Install energy-efficient lighting systems in offices"
            )
        } else {
            listOf(
                "Fix electrical issues in residential homes",
                "Replace faulty electrical outlets in retail stores",
                "Repair electrical equipment in restaurants"
            )
        }
    }

    return jobs
}
/**
 * Retrieves a list of jobs based on an electrician's information tuple.
 *
 * @param electricianInfo Contains the electrician's details: (name, experience, license)
 * @return A list of available jobs for the electrician.
 */
fun electricianJobs(electricianInfo: Triple<String, Int, String>): List<String> {
/**
 * Retrieves a list of jobs based on an electrician's information tuple.
 *
 * @param electricianInfo Contains the electrician's details: (name, experience, license)
 * @return A list of available jobs for the electrician.
 */
fun electricianJobs(electricianInfo: Triple<String, Int, String>): List<String> {

    // Code to retrieve jobs based on electrician's details
    val (name, experience, license) = electricianInfo

    val jobs: List<String> = if ("journeyman" in license) {
        listOf(
            "Install electrical systems in residential properties",
            "Perform maintenance on existing electrical systems in commercial buildings",
            "Troubleshoot and repair electrical faults in industrial facilities"
        )
    } else {
        if (experience >= 4) {
            listOf(
                "Wiring new construction residential buildings",
                "Upgrade electrical panels in commercial properties",
                "Install energy-efficient lighting systems in offices"
            )
        } else {
            listOf(
                "Fix electrical issues in residential homes",
                "Replace faulty electrical outlets in retail stores",
                "Repair electrical equipment in restaurants"
            )
        }
    }

    return jobs
}