title: How to pass only one argument to odeint?
body: <p>I am trying to use scipy's <code>odeint</code> to solve some ordinary differential equations.  The only problem is that I only want to define one argument, and it seems that to make a tuple, you need at least two values.</p>
  
  <p>My code looks like this:</p>
  
  <pre><code>def system(state, t, inputs)
  
      x = state[0]
      u = inputs
      a = -4
      b = 2
  
      dxdt = [a * x + b * u]
  
      return dxdt
  
  inputs = 5
  x_next = odeint(system, x, t, args=(inputs))
  </code></pre>
  
  <p>This will return an error because <code>args</code> must be a tuple, and (inputs) is a int/float and not a tuple.  One way to overcome this is to put a, b as part of the args.  But that is just a bandaid on a wound.</p>
  
  <p>I was wondering if there is any ways to define the args as just one value.</p>