Maybe put the newlines at the end of line rather than the start? Alternatively, perhaps use `"\n".join()` instead.