/**
 * This function creates a tuple representing a police officer given the officer's details.
 * The details include the officer's name, badge number, and assigned district.
 * The function prompts the user to enter the officer's details and returns a tuple containing all the information.
 */
fun createOfficer(): Triple<String, String, String> {

    print("Enter the officer's name: ")
    val officerName = readLine() ?: ""
    
    print("Enter the officer's badge number: ")
    val badgeNumber = readLine() ?: ""
    
    print("Enter the officer's assigned district: ")
    val assignedDistrict = readLine() ?: ""
    
    return Triple(officerName, badgeNumber, assignedDistrict)
}
/**
 * This function creates a tuple representing a police officer given the officer's details.
 * The details include the officer's name, badge number, and assigned district.
 * The function prompts the user to enter the officer's details and returns a tuple containing all the information.
 */
fun createOfficer(): Triple<String, String, String> {
/**
 * This function creates a tuple representing a police officer given the officer's details.
 * The details include the officer's name, badge number, and assigned district.
 * The function prompts the user to enter the officer's details and returns a tuple containing all the information.
 */
fun createOfficer(): Triple<String, String, String> {

    print("Enter the officer's name: ")
    val officerName = readLine() ?: ""
    
    print("Enter the officer's badge number: ")
    val badgeNumber = readLine() ?: ""
    
    print("Enter the officer's assigned district: ")
    val assignedDistrict = readLine() ?: ""
    
    return Triple(officerName, badgeNumber, assignedDistrict)
}