- 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 11 times
Rearrange the following lines of code to write a function to return a modified image with the left half blacked out. Not
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Rearrange the following lines of code to write a function to return a modified image with the left half blacked out. Not
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):