human
What is a the Python code you requested given the following:
Complete the below
def formatters(*chained_formatters):

    ''''Chain formatter functions.
    :param chained_formatters:
    :type chained_formatters:
    :return:
    :rtype:'
    '''
assistant
#Here is the Python code you requested.
    def formatters_chain(input_string):
        for chained_formatter in chained_formatters:
            input_string = chained_formatter(input_string)
        return input_string
    return formatters_chain