Hello,
Maybe a bit confusing topic title, probably the example will do.
I have a tuple:
t = ('a', 'b', 'c', 'd')
And need the following output, list or tuple, doesn't matter:
(0, 'a', 1, 'b', 2, 'c', 3, 'd')
I tried with zip(), but get a list of tuples, which isn't the desired
output. Anyone with a solution or push in the right direction?
Cheers,
TImo
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor