<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def outitem(title, elems, indent=4):
 """Output formatted as list item."""

    out(title)
    max_key_len = max(len(key) for key, _ in elems) + 1
    for key, val in elems:
        key_spaced = ('%s:' % key).ljust(max_key_len)
        out('%s%s %s' % (indent * ' ', key_spaced, val))
    out()