I saw this piece of code being used to iterate over a 2D list column-wise:
"""
grid: List[List(int)]
"""
for col in zip(*grid):
    ...
Could someone explain exactly how this works?
EDIT:
Duplicate of this question, but not this one.
I still don't understand exactly how zip(*_) converts rows into columns.
