Question: One of the four functions below generated this picture. Which one is it? A. B. C. D. def newpic1(inpic): getwidth(inpic) getHeight(inpic) outpic = W =
One of the four functions below generated this picture.

Which one is it?
A.

B.

C.

D.

def newpic1(inpic): getwidth(inpic) getHeight(inpic) outpic = W = h makeEmptyPicture (w,h) outX = w-1 for inx in range (0,w/2): outY h-1 for inY in range (0,h/2): inpixel getPixelAt(inpic, inX,inY) getColor(inpixel) newpixel = getPixelAt (outpic,outX, outY) %3D color setColor(newpixel,color) outY outY - 1 outX = outX %3D show(outpic) return(outpic)
Step by Step Solution
3.45 Rating (161 Votes )
There are 3 Steps involved in it
The answ... View full answer
Get step-by-step solutions from verified subject matter experts
