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)
```
You might also like to view...
When you make changes that fine-tune the display of the site, it is a good idea to frequently preview the page in a browser to ensure that the layout displays exactly as you intended.
Answer the following statement true (T) or false (F)
The "fathers of the Internet" are Vinton Cerf and ________
A) Robert Kahn B) Tim Berners-Lee C) Robert Cailliau D) Bill Gates
CTRL+B, CTRL+], and CTRL+U are all shortcut keys for formatting paragraphs.
Answer the following statement true (T) or false (F)
What output is produced by the following code, assuming these lines of code are embedded in a correct program?
``` cout << "*" << setw(5) << 123 << "*" << 123 << "*" << endl; cout.setf(ios::showpos); cout << "*" << setw(5) << 123 << "*" << 123 << "*" << endl; cout.unsetf(ios::showpos): cout.setf(ios::left); cout << "*" << setw(5) << 123 << "*" << setw(5) << 123 << "*" << endl; ```