use `list` and `'\n'.join()`