a = ["hello", "world"] f"{'\n'.join(a)}"