Question: What does the following function do? By reading the program without running it, do you think that the result of test8 will be lighter or
What does the following function do? By reading the program without running it, do you think that the result of test8 will be lighter or darker than the result of test7?

def test8 (picture): for p in getPixels(picture): getRed (p) /3 getGreen (p) /3 blue = getBlue (p) /3 red green = %3D color makeColor(red,green, blue) setColor(p,color)
Step by Step Solution
3.39 Rating (171 Votes )
There are 3 Steps involved in it
test8 sets all color values in ... View full answer
Get step-by-step solutions from verified subject matter experts
