if you want, you could use triple-quoted strings, which allow line breaks

```
 window.addstr("""{}... {}

{}
""".format(stack.name, n, stack.id))