I have this list comprehension:
[[x,x] for x in range(3)]
which results in this list:
[[0, 0], [1, 1], [2, 2]]
You might get away with this:
[floor(x/2) for x in range(6)]
edit1
[int(x/2) for x in range(6)]
is the more portable solution in the same vein. Although the other presented answers seem better.