for a in range(0, 9): print("a", int(a / 3), "b", a % 3)
Standard input is empty
a 0 b 0 a 0 b 1 a 0 b 2 a 1 b 0 a 1 b 1 a 1 b 2 a 2 b 0 a 2 b 1 a 2 b 2
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!