title: Does poly function accept only the list as its 1st argument when I tried to pass an numpy array as an 1st argument it is showing an error
body: <p>Does poly function accept only the list as its 1st argument when I tried to pass an numpy array as an 1st argument it is not working.</p>
  
  <pre><code>import numpy
  A=list(map(float,raw_input().split()))
  k=int(raw_input())
  print numpy.polyval(A,k) 
  </code></pre>
  
  <p>The above code works but </p>
  
  <pre><code>import numpy
  A=numpy.array([raw_input().split()],float)
  k=int(raw_input())
  print k,A
  print numpy.polyval(A,k) 
  </code></pre>
  
  <p>The above code does not work</p>
  
  <pre><code>import numpy
  A=numpy.array([raw_input().split()],float)
  k=int(raw_input())
  print k,A
  print numpy.polyval(A,k)
  </code></pre>