title: How do I run two python loops concurrently?
body: <p>Suppose I have the following in Python</p>
  
  <pre><code># A loop
  for i in range(10000):
      Do Task A
  
  # B loop
  for i in range(10000):
      Do Task B
  </code></pre>
  
  <p>How do I run these loops simultaneously in Python?</p>