# your code goes hereints = [8, 23, 45, 12, 78] for idx, val in enumerate(ints): print idx, val
Standard input is empty
0 8 1 23 2 45 3 12 4 78
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!