def print_numbered_items(items, ctx):
    """Convenience function to print a numbered list of items."""
    for i, item in enumerate(items):
        hrf = item.human_readable_form(ctx)
        pos = hrf[1]
        print('{} : {}'.format(i + 1, hrf))
