While looking for a pythonic way to rotate a matrix, I came across this answer. However there is no explanation attached to it. I copied the snippet here:

rotated = zip(*original[::-1])

How does it work?

Edit
Report