from scipy.misc import ascentimport metploitlib.pyplot as pltimg = ascent ()Write Python code that turns the ’edges’ (width = 50) of the ascent image into black color (that is, grayscale color value 0), as illustrated below: for loop to complete this task. 1. Modify the image by modifying the image array. 2. Use nested for loop to complete this task.