Question: I have been working on this same code for hours, does anyone know what I am doing wrong? This is meant to combine two halves

I have been working on this same code for hours, does anyone know what I am doing wrong? This is meant to combine two halves of two photos, but nothing is happening after I choose my files.

antelope = makePicture(pickAFile()) rabbit = makePicture(pickAFile())

def transform(antelope,rabbit): antelopepix = getPixels(antelope) rabbitpixels = getPixels(rabbit) for index in range (len(antelopepix)/2,len(antelopepix)): newcolor = getColor(rabbitpixels[index]) setColor(antelopepixels[index], newcolor) saveas = pickAFile() writePictureTo(saveas) explore(antelope)

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!