Question: 13. From the given three functions makeSunset, reduceBlue and reduceGreen; combine the code and make a single program named mySunset. [3 marks] def make Sunset

 13. From the given three functions makeSunset, reduceBlue and reduceGreen; combine

13. From the given three functions makeSunset, reduceBlue and reduceGreen; combine the code and make a single program named mySunset. [3 marks] def make Sunset (picture): reduceBlue (picture) reduceGreen (picture) def reduceBlue (picture): for p in get Pixels (picture): value-getBlue (p) setBlue (p, value*0.7) def reduceGreen (picture): for p in get Pixels (picture): value-getGreen (p) set Green (p, value*0.7)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!