numbers = map(int, "19 01 23 75 03 34".split())print numbers
Standard input is empty
[19, 1, 23, 75, 3, 34]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!