python(pprint 模块)

import pprint
data = (
    "this is a string", [1, 2, 3, 4], ("more tuples",1.0, 2.3, 4.5), "this is yet another string"
)

pprint.pprint(data)
print('===============')
print(data)