4. Write a docstring for this function
def average_color(image) :
sum_col =0
num_of_pixels =0
for row in image.pixels:
for pixel in row:
num_of_pixels +=1
sum_col += (pixel.green + pixel.red + pixel.blue) 3
return sum_col/num_of_pixels

4 Write a docstring for this function def averagecolorimage sumcol 0 numofpixels 0 for row in imagepixels for pixel in row numofpixels 1 sumcol pixelgreen pixel class=