<div dir="ltr">What are the pros and cons of making enumerate a sequence if its argument is a sequence?<div><font><font><br></font></font></div><div><font><font>I found myself writing:</font></font></div><div><font><font><font><font><br></font></font></font></font></div><div><font><font><font><font><div>                for vertex, height in zip(</div><div>                        self.cache.height_to_vertex[height_slice],</div><div>                        range(height_slice.start, height_slice.stop)):</div><div><br></div><div>I would have preferred:</div><div><br></div><div><div>                for height, vertex in enumerate(</div><div>                        self.cache.height_to_vertex)[height_slice]:</div></div><div><br></div><div><br></div></font></font></font></font></div></div>