
    In a bank's loan processing system, find the ID of the most creditworthy applicant from a list of loan applications, where each application contains both an applicant ID and their corresponding credit risk score. The applicant with the lowest credit risk score is considered the most creditworthy, and if multiple applicants have the same lowest risk score, return the ID of the first such applicant in the list.
    

    
from operator import itemgetter

def index_minimum(test_list):
    """
    In a bank's loan processing system, find the ID of the most creditworthy applicant from a list of loan applications, where each application contains both an applicant ID and their corresponding credit risk score. The applicant with the lowest credit risk score is considered the most creditworthy, and if multiple applicants have the same lowest risk score, return the ID of the first such applicant in the list.
    

    """
from operator import itemgetter

def index_minimum(test_list):
    """
    In a bank's loan processing system, find the ID of the most creditworthy applicant from a list of loan applications, where each application contains both an applicant ID and their corresponding credit risk score. The applicant with the lowest credit risk score is considered the most creditworthy, and if multiple applicants have the same lowest risk score, return the ID of the first such applicant in the list.
    

    """
    res = min(test_list, key=itemgetter(1))[0]
    return res