Session Seven, Wed. January 28th

On Monday we began with the concept of looping over all the pixels in a picture by looking at code such as:

def redOnly(pic):
	for pixel in getPixels(pic):
		setGreen(pixel,0)
		setBlue(pixel,0)
	repaint(pic)

Let's start today by talking about what goes on in that line that says "for"

Questions about yesterday's lab  ??

Points I tried to make in the lab:

 

What kinds of things did you try with the bonus problem? 

What challenges did you experience?