x = [ [b,c,k] for b in range(1, 3) for k in range(1,3) for c in range(1,3)]print (x)
Standard input is empty
[[1, 1, 1], [1, 2, 1], [1, 1, 2], [1, 2, 2], [2, 1, 1], [2, 2, 1], [2, 1, 2], [2, 2, 2]]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!