title: How to convert N space separated numbers into in array in Python?
body: <p>How do I input <em>n</em> integers separated by space in Python?</p>
  <p>Suppose I want to input <em>n</em> elements in an array separated by space such as</p>
  <pre><code>3
  1 2 3
  </code></pre>
  <p>In the first line we are given <em>n</em> and in the next line <em>n</em> inputs follow. How can I store them in an array?</p>