On Tue, Mar 31, 2015 at 3:42 PM, Zachary Ware <zachary.ware+py...@gmail.com> wrote:
> Also, not that since you aren't using the index for anything, you > don't need to use enumerate() to iterate over the list. Just do "for > item in L:". Of course, if you actually use the index in the real > code that I assume this was cut out of, keep enumerate; it's the right > tool for the job. Yeah, I simplified my actual code into the smallest snippet that I could reproduce my problem in. My actual code need the index. -- boB _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor