expanded_indent = textwrap.fill(prefix + '$', replace_whitespace=False)[:-1]
subsequent_indent = ' ' * len(expanded_indent)
wrapper = textwrap.TextWrapper(initial_indent=prefix, subsequent_indent=
    subsequent_indent)
message = 'LEFTLEFTLEFTLEFTLEFTLEFTLEFT RIGHTRIGHTRIGHT ' * 3
print(wrapper.fill(message))
Printing with indentation in python