title: Iterating a loop with a pause
body: <p>I am working to integrate with an API that has a limit on the number of requests per second. Is there a way, when running a <code>for</code> loop in python to delay each cycle? Conceptually, something like --</p>
  
  <pre><code>def function(request):
      for x in [a,b,c,d,...]:
          do something
          wait y seconds
  </code></pre>
  
  <p>Thank you.</p>