How to concatenate strings and integer in a variable
<p>I have a variable of <code>int</code> type.
I am running for loop on it and making a variable with adding some string info.</p>

<pre><code>a = 5 // variable with integer value
list = '' // empty variable
for x in range(a):
  list.append('MA[' + x + '] |')
</code></pre>

<p>Expected output:</p>

<pre><code>MA[5] | MA[4] | MA[3] | MA[2] | MA[1] | MA[0]
</code></pre>
