code: def index(self, slide):
          
          for idx, this_slide in enumerate(self):
              if this_slide == slide:
                  return idx
          raise ValueError('%s is not in slide collection' % slide)
docs: Map *slide* to an integer representing its zero-based position in
          this slide collection. Raises |ValueError| on *slide* not present.