Multiple tuples for one for statement
- From: "Harlin Seritt" <harlinseritt@xxxxxxxxx>
- Date: 24 Apr 2005 20:03:36 -0700
I have three tuples of the same size: tup1, tup2, tup3
I'd like to do something like this:
for a,b,c in tup1, tup2, tup3:
print a
print b
print c
Of course, you get an error when you try to run the pseudocode above.
What is the correct way to get this done?
Thanks,
Harlin
.
- Follow-Ups:
- Re: Multiple tuples for one for statement
- From: Daniel Cer
- Re: Multiple tuples for one for statement
- From: Kent Johnson
- Re: Multiple tuples for one for statement
- From: Steven Bethard
- Re: Multiple tuples for one for statement
- From: James Stroud
- Re: Multiple tuples for one for statement
- Prev by Date: Re: Variables
- Next by Date: Re: Decent Win32All Documentation
- Previous by thread: Parsing data from URL
- Next by thread: Re: Multiple tuples for one for statement
- Index(es):