Use pprint() rather than print()
xxxxxxxxxx
from pprint import pprint
a = "This string contains all kinds of sh**"
pprint(a) # Now it's a colorful sh**
xxxxxxxxxx
ONLINE:
https://codebeautify.org/python-formatter-beautifier
https://www.cleancss.com/python-beautify/
Visual Studio Code:
https://code.visualstudio.com/docs/python/formatting