d1, d2, d3 = 5, 5, 5 tda = [[[0] * d1] * d2] * d3 tda[1][2][3] = 1print(tda[2][2][3])
Standard input is empty
1
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!