fork download
  1. # your code goes here
  2. m=[[]]
  3. n=6
  4. for i in range(n):
  5. m.append([])
  6. for j in range(n):
  7. x=5
  8. m[i].insert(j,x)
  9. print(i,j)
Success #stdin #stdout 0.01s 27704KB
stdin
Standard input is empty
stdout
0 0
0 1
0 2
0 3
0 4
0 5
1 0
1 1
1 2
1 3
1 4
1 5
2 0
2 1
2 2
2 3
2 4
2 5
3 0
3 1
3 2
3 3
3 4
3 5
4 0
4 1
4 2
4 3
4 4
4 5
5 0
5 1
5 2
5 3
5 4
5 5