Page 1 of 1

Rearrange the following lines of code to write a function to return a modified image with the left half blacked out. Not

Posted: Mon Jun 06, 2022 5:49 pm
by answerhappygod
Rearrange The Following Lines Of Code To Write A Function To Return A Modified Image With The Left Half Blacked Out Not 1
Rearrange The Following Lines Of Code To Write A Function To Return A Modified Image With The Left Half Blacked Out Not 1 (72.31 KiB) Viewed 12 times
Rearrange the following lines of code to write a function to return a modified image with the left half blacked out. Note that you should make sure the indentation is correct! Drag from here Drop blocks here return img def black_out(img): for row in range(len (img)): img [row] [col] = (0, O 0) for col in range(len(img [row])//2):