human
Complete this python program:
def formatters(*chained_formatters):
assistant
#Here is the Python code you requested.

    """Chain formatter functions.
    :param chained_formatters:
    :type chained_formatters:
    :return:
    :rtype:
    """
    def formatters_chain(input_string):
        for chained_formatter in chained_formatters:
            input_string = chained_formatter(input_string)
        return input_string
    return formatters_chain