We'll use matplotlib.pyplot to read in, display, and manipulate a digital image. You should use a color image in this problem.
import matplotlib.pyplot as plt
img = plt.imread('somePicture.jpg')
plt.figure()
plt.imshow(img)
(a) What is the type of img? What is the shape of img?
(b) Modify the image so that a rectangular block of pixels are red, and display the result using plt.imshow.
(c) Modify the image so that a rectangular block of pixels is green, and display the result using plt.imshow.