title: How to input 2 integers in one line in Python?
body: <p>I wonder if it is possible to input two or more integer numbers in one line of standard input. In <code>C</code>/<code>C++</code> it's easy:</p>
  
  <p><code>C++</code>:</p>
  
  <pre><code>#include &lt;iostream&gt;
  int main() {
      int a, b;
      std::cin &gt;&gt; a &gt;&gt; b;
      return 0;
  }
  </code></pre>
  
  <p><code>C</code>:</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  void main() {
      int a, b;
      scanf("%d%d", &amp;a, &amp;b);
  }
  </code></pre>
  
  <p>In <code>Python</code>, it won't work:</p>
  
  <pre><code>enedil@notebook:~$ cat script.py 
  #!/usr/bin/python3
  a = int(input())
  b = int(input())
  enedil@notebook:~$ python3 script.py 
  3 5
  Traceback (most recent call last):
    File "script.py", line 2, in &lt;module&gt;
      a = int(input())
  ValueError: invalid literal for int() with base 10: '3 5'
  </code></pre>
  
  <p>So how to do it?</p>