def _print_with_line_no(text):
    """
    docstring for _print_with_line_no
    """
    for i, line in enumerate(text.split('\n')):
        line_no = i + 1
        print('{:>3}'.format(line_no), '|', line)
    print(' ')
