Python Forum
[Basic] Never use "for i in range(len(sequence)):"
Thread Rating:
  • 4 Vote(s) - 3.25 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Basic] Never use "for i in range(len(sequence)):"
#6
I think more he was asking if a section on zip should be added here to teach about iterating over lists in parallel; not necessarily specific to that post.

I do believe however that this type of iteration is mentioned in the Batchelder link I included at the end of the post.


Messages In This Thread
RE: Never use "for i in range(len(sequence)):" - by Mekire - Sep-26-2017, 09:17 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020