Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
iterating over 2 iterators
#1
what was the name of that function that would iterate over 2 iterators and let you do:
   for x,y in iter2(xx,yy):
where xx and yy are 2 iterators of presumably the same length (else the iteration stops at the end of the shorter iterator).
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
iterating over 2 iterators - by Skaperen - Jun-07-2019, 01:04 PM
RE: iterating over 2 iterators - by Yoriz - Jun-07-2019, 01:12 PM
RE: iterating over 2 iterators - by Skaperen - Jun-07-2019, 11:37 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  itertools.zip_shortest() fo unequal iterators Skaperen 10 6,945 Dec-27-2019, 12:17 AM
Last Post: Skaperen
  how to join 2 iterators Skaperen 2 2,739 Sep-11-2019, 07:19 PM
Last Post: Skaperen
  Iterators mp3909 3 3,094 Mar-16-2018, 09:42 PM
Last Post: nilamo
  2 iterators or generators Skaperen 1 37,812 Jan-04-2018, 07:41 AM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

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