title: Formatting the printing of list concatenated with other variables
body: <p>I have a list <em>data</em> and its <em>mean</em>, <em>median</em> and <em>mode</em> as below:</p>
  
  <pre><code>data = [2, 3, 5, 5, 7, -6, -6, 9]
  mean = 2.00
  median = 3.00
  mode = [5, -6]
  </code></pre>
  
  <p>I want to have a neat Pythonic output of the results. Using the answers recommended <a href="https://stackoverflow.com/questions/4440516/in-python-is-there-an-elegant-way-to-print-a-list-in-a-custom-format-without-ex">here</a> and <a href="https://stackoverflow.com/questions/19400015/python-list-printing-formatting">here</a> I have come up with the following code.</p>
  
  <pre><code>print('Mean:{0:9.2f}\nMedian:{1:7.2f}'.format(mean, median),
    ''.join('\nMode: {}: {}'.format(*k) for k in enumerate(mode)))
  </code></pre>
  
  <p>However, I'm not confident if this is a good solution anyway and my output looks like this:</p>
  
  <pre><code>Mean:     2.38
  Median:   4.00 
  Mode: 0: -6
  Mode: 1: 5
  </code></pre>
  
  <p>I want an output like:</p>
  
  <pre><code>Mean:     2.38
  Median:   4.00
  Mode:     -6, 5
  </code></pre>