title: How to repeat characters in Python without string concatenation?
body: <p>I'm currently writing a short program that does frequency analysis. However, there's one line that is bothering me:</p>
  
  <pre><code>"{0[0]}  | " + "[]" * num_occurrences + " Total: {0[1]!s}"
  </code></pre>
  
  <p>Is there a way in Python to repeat certain characters an arbitrary number of times without resorting to concatenation (preferably inside a format string)? I don't feel like I'm doing this in the most Pythonic way.</p>