human
Complete the below
def format_counter_name(s):

    ''''Makes counter/config names human readable:
    FOOBAR_BAZ -> "Foobar Baz"
    foo_barBaz -> "Foo Bar Baz"'
    '''
assistant
#Here is the Python code you requested.
    def splitCamels(s):
        '    Convert    "fooBar"    to    "foo    bar"    '
        return re.sub('[a-z][A-Z]', (lambda x: ((x.group(0)[0] + '    ') + x.group(0)[1].lower())), s)
    return string.capwords(re.sub('_', '    ', splitCamels(s)).lower())