Matplotlib - Image Display
You want to create a grayscale image by averaging the red, green, and blue channels of an image array
img. Which code correctly does this and keeps the result as a 2D array?