Write a function that takes a picture as input, and make the top half of the picture black.

What will be an ideal response?

```
def setHalfBlank(picture):
pixels = getPixels(picture)
for index in range(0,len(pixels)/2):
pixel = pixels[index]
setColor(pixel ,black)
```

Computer Science & Information Technology

You might also like to view...

A source file is a file containing links to receive data from the destination files

Indicate whether the statement is true or false

Computer Science & Information Technology

An assault on system security that derives from an intelligent act that is a deliberate attempt to evade security services and violate the security policy of a system is a(n) __________.

A. risk B. asset C. attack D. vulnerability

Computer Science & Information Technology