Nov-07-2021, 08:17 PM
in the mean time i wrote my own. it has an option pad= that allows specifying a pad for shorter iterables (if not specified then the shortest iterable stops the whole thing). i also has a last= option that allows specifying a final yield when all iterables are done. if it is given an int instead of a real iterable, it passes that int to
since zip() did not match my project's need, i guess i didn't think about it when i coded my own variant (still in pre-alpha ... i haven't even coded a test for it, yet)
range(that_int)
and uses that. likewise if what is passed is literally a list or tuple of len() in (1,2,3)
then those ints are passed as args to range() to become the iterable that is used. iow, cheap ways to do ranges.since zip() did not match my project's need, i guess i didn't think about it when i coded my own variant (still in pre-alpha ... i haven't even coded a test for it, yet)
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.