title: Python strings and integer concatenation
body: <p>I want to create a string using an integer appended to it, in a <em>for</em> loop.  Like this:</p>
  <pre><code>for i in range(1, 11):
    string = &quot;string&quot; + i
  </code></pre>
  <p>But it returns an error:</p>
  <blockquote>
  <p>TypeError: unsupported operand type(s) for +: 'int' and 'str'</p>
  </blockquote>
  <p>What's the best way to concatenate the string and integer?</p>