... or lets you use the walrus operator (:=) in a nested comprehension to assign to the outer iteration variable.
Python
print([
[(j := i) for i in range(2)]
for j in range(2)
])MicroPython
print([
[(j := i) for i in range(2)]
for j in range(2)
])