title: Reading space separated input in Python
body: <p>Here is the input specification:</p>
  <blockquote>
  <p>The program has to read <em>t</em> lines of inputs. Each line consist of 2
  space separated values first one is the name and second is the age.</p>
  <p>An Example of input:</p>
  <pre class="lang-none prettyprint-override"><code>Mike 18
  Kevin 35
  Angel 56
  </code></pre>
  </blockquote>
  <p>How to read this kind of input in Python? If I use <code>raw_input()</code>, both name and age are read in the same variable.</p>