title: How to use variable value in for loop in python
body: <p>Im trying to use a variable value in the range() in for loop as shown in the below code</p>
  <pre><code>n = int((length + 15) / 16); n is being calculated and typecasted to int
  for j in range(n)
  </code></pre>
  <p>For which im getting sytax error.
  could anyone tell how exactly to solve this</p>