title: Use zip function in python
body: <p>I have values saved in the file as:</p>
  
  <pre><code>[0.        0.5       1.        1.5       2.        2.5000002 .......] [1.00000000e+00 5.32289624e-01 3.31494868e-01 2.17292413e-01 1.46866933e-01 1.01670586e-01......]
  </code></pre>
  
  <p>But i want the values saved as:</p>
  
  <pre><code>0.0    1.00000000e+00 
  
  0.5    5.32289624e-01
  
  1.0    3.31494868e-01
  
  1.5    2.17292413e-01
  
  2.0    1.46866933e-01
  
  2.5    1.01670586e-01
  </code></pre>
  
  <p>and hence it will be easily able to plot in the graph.</p>
  
  <p>here is my part of the python code:</p>
  
  <pre><code>time = hb_ac.solution['time']
  results = hb_ac.solution['results']
  tau = hb_ac.solution['tau']
  fit=hb_ac.solution['fit']
  estimate = hb_ac.solution['estimate']
  with open('CaOw2.4dat', 'w') as out:
      out.write("{time} {results}".format(time=time,results=results))
  </code></pre>
  
  <p>Any suggestions on how can i use the zip function here in order to get the output in the desired format.</p>