title: Iterate Two Ranges In For Loop
body: <p>I have a couple of simple loops like so:</p>
  
  <pre><code>for i in range (30, 52):
  
      #do some stuff here
  
  for i in range (1, 18):
  
      #do some more stuff
  </code></pre>
  
  <p>What I would like to is condense this into one loop using syntax of the order:</p>
  
  <pre><code>for i in range((30, 52), (1, 18):
  
      #do some stuff
  </code></pre>
  
  <p>I realise that syntax will not work, but that is the basic concept of what I need. I've seen people using zip to iterate two ranges simultaneously, but this is not what I need.</p>
  
  <p>Any ideas?</p>