https://docs.python.org/3/tutorial/stdlib2.html#output-formatting
>>> import pprint
>>> t = [[[['black', 'cyan'], 'white', ['green', 'red']], [['magenta',
...     'yellow'], 'blue']]]
...
>>> pprint.pprint(t, width=30)

It doesn't work.
There's one "]" too much in blue...
It should look like this:


>>> import pprint >>> t = [[[['black', 'cyan'], 'white', ['green', 'red']], [['magenta', ... 'yellow'], 'blue']] ... >>> pprint.pprint(t, width=30)

Then it works.