title: How to run two pieces of codes with waits in between at the same time in python?
body: <p>I want to run</p>
  <pre><code>import time
  number1 = 1
  while True:
      number1 = int(number1) + 1
      time.sleep(3)
  </code></pre>
  <p>And</p>
  <pre><code>import time
  number2 = 1
  while True:
      number2 = int(number2) + 1
      time.sleep(20)
  </code></pre>
  <p>At the same time in python, how would I go about doing so?
  I'm still a beginner, please explain it in simpler terms if you can.</p>
  <p><strong>Sub-question</strong>: There is little of actual code and more of waiting around, would it be better to use multithreading or multiprocessing?</p>
  <p><strong>Sub-question2</strong>: Can I run more processes than the number of cores my cpu has in multiprocessing?</p>