title: Multiprocessing 2 different functions python3
body: <p>I am struggling for a while with <code>Multiprocessing</code> in <code>Python</code>. I would like to run 2 independent functions simultaneously, wait until both calculations are finished and then continue with the output of both functions. Something like this: </p>
  
  <pre><code># Function A: 
  def jobA(num):   
      result=num*2
      return result
  
  # Fuction B:        
  def jobB(num):
      result=num^3
      return result
  
   # Parallel process function: 
  
  {resultA,resultB}=runInParallel(jobA(num),jobB(num))
  </code></pre>
  
  <p>I found other examples of multiprocessing however they used only one function or didn't returned an output. Anyone knows how to do this? Many thanks! </p>