title: Python center string using format specifier
body: <p>I have a string called <code>message</code>.</p>
  
  <pre><code>message = "Hello, welcome!\nThis is some text that should be centered!"
  </code></pre>
  
  <p>And I'm trying to center it for a default Terminal window, i.e. of 80 width, with this statement:</p>
  
  <pre><code>print('{:^80}'.format(message))
  </code></pre>
  
  <p>Which prints:</p>
  
  <pre><code>           Hello, welcome!
  This is some text that should be centered!           
  </code></pre>
  
  <p>I'm expecting something like:</p>
  
  <pre><code>                                Hello, welcome!                                 
                     This is some text that should be centered!                   
  </code></pre>
  
  <p>Any suggestions?</p>