human
Complete the below
def build_log_presenters(service_names, monochrome):

    ''''Return an iterable of functions.
    Each function can be used to format the logs output of a container.'
    '''
assistant
#Here is the Python code you requested.
    prefix_width = max_name_width(service_names)
    def no_color(text):
        return text
    for color_func in cycle(([no_color] if monochrome else colors.rainbow())):
        (yield LogPresenter(prefix_width, color_func))