Question: Python 3: 5. Write two more functions, both of which should take a 2-D list pixels containing pixels for an image, and create and return
Python 3:

5. Write two more functions, both of which should take a 2-D list pixels containing pixels for an image, and create and return a new 2-D list of pixels for an image that is a rotation of the original image -rotate_clockwise(pixels) should rotate the original image clockwise by 90 degrees. For example - rotate_counterclockwise(pixels) should rotate the original image counterclockwise by 90 degrees. For example
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
