Rearrange the following lines of code to write a function to return a modified image with the left half blacked out. Not
-
answerhappygod
- Site Admin
- Posts: 899604
- 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):
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!