Including an integer in a print statement
<p>I am trying this, where <code>i</code> is an integer:</p>

<pre><code>sys.stdout.write('\thello world %d.\n' % i+1)
</code></pre>

<p>and it says "cannot concatenate str and int". I have tried various combinations:</p>

<pre><code>int(i) + 1
i + int(1)
</code></pre>

<p>... but it's not working</p>
