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

def test9 (picture): for p in getPixels(picture): getRed (p) * 2 getGreen (p) getBlue (p) * 2 makeColor(red, green, blue) red green 2 blue color setColor(p,color)
Step by Step Solution
3.38 Rating (164 Votes )
There are 3 Steps involved in it
test9 doubles the current co... View full answer
Get step-by-step solutions from verified subject matter experts
