I wonder if it is possible to input two or more integer numbers in one line of standard input. In C/C++ it\'s easy:
C
C++
C++:
Split the entered text on whitespace:
a, b = map(int, input().split())
Demo:
>>> a, b = map(int, input().split()) 3 5 >>> a 3 >>> b 5
If you are using Python 2, then the answer provided by Martijn does not work. Instead,use:
a, b = map(int, raw_input().split())