Question: python 4.15 What does the following function do? def test7 (picture): for p in getPixels (picture): red = getRed(p)/2 green = getGreen(p)/2 blue = getBlue(p)/2
4.15 What does the following function do? def test7 (picture): for p in getPixels (picture): red = getRed(p)/2 green = getGreen(p)/2 blue = getBlue(p)/2 color = makeColor(red.green.blue) setColor(p.color)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
