Error "TypeError: 'int' object is not callable" in a for loop
<p>I'm trying to print out some values according to a sequence rule n(n+1)/2 from another list, I have so far:</p>

<pre><code>for i in range(0,5):
 print LHS[(i(i+1))/2]
</code></pre>

<p>Why should this not work but <code>print LHS[i]</code> be fine?</p>

<p>However this is raising the error in the title. I do not understand why this would not work in Python.</p>

<p>If anybody could help I would be very grateful!!</p>
