If we're not using the `book` variable, it might be better to do `for index in xrange(len(course.textbooks))`