I have this list comprehension:
[[x,x] for x in range(3)]
which results in this list:
[[0, 0], [1, 1], [2, 2]]
>>> [i for i in range(3) for _ in range(2)] [0, 0, 1, 1, 2, 2]