title: Having a for loop with two parameter
body: <p>I am trying to have this loop but it says its not possible. How can I create these kinds of loops?</p>
  
  <pre><code>for i in range (sposA,sposB) and for j in range(eposB+1,sposB,-1): 
      if tempstr[i] == ctempstr[j]: 
          pcount += 1
  </code></pre>