1.
The code below is supposed to change the white in the French flag to aqua (Aqua is made by mixing blue and green with no red). Arrange and indent the blocks to make a correct program. You will not use them all.
isYellow
that accepts red, green, and blue values as its parameters and returns True
if both the green and red values are at least 40 more than the blue value. Otherwise, it should return False
.True
always. That will let you run the program but will change every pixel. Then add a condition to say True
or False
based on the r, g, b
values passed in.