title: How may I get more values of a variable than my linspace while solving ODE in Python? (EDIT)
body: <p>To check some of my results more easily I used an Excel sheet to make a few diagrams. However, I noticed something really awkward. </p>
  
  <p><strong>EDIT :</strong> </p>
  
  <p>So let present the problem in another way, I found something that represent what I don't understand in my code.</p>
  
  <pre><code>import numpy as np
  from scipy.integrate import odeint
  
  A = []
  
  
  def F(y, z):
      global A
      a = y[0]
      b = y[1]
  
      A.append(a)
  
      return [a, b]
  
  
  y0 = [1, 1]
  z = np.linspace(0, 1, 101)
  y = odeint(F, y0, z)
  print(len(z), len(A))
  </code></pre>
  
  <p>The question is why the length of z and A are different (e.g. 101 and 55)? </p>
  
  <p>For me ,during the solving, <code>a</code> should vary <code>len(z)</code> times and so <code>A</code>. So it looks like the linspace is not doing anything on the solving of the equations. Or perhaps I haven't understood the usage of linspace in Python.</p>