二次元のリスト内包表記のプログラム例を示します.
a = [[(i, j) for j in range(3)] for i in range(5)] print(a)
[[(0, 0), (0, 1), (0, 2)], [(1, 0), (1, 1), (1, 2)], [(2, 0), (2, 1), (2, 2)], [(3, 0), (3, 1), (3, 2)], [(4, 0), (4, 1), (4, 2)]]