In python, I'd like to make a pairwise iteration through a list of tuples (lot) element. My lot is shown below:
lot = [('490001', 'A-ARM1'),
('490001', 'A-ARM2')]
I'd like to create one iteration variable that loops through the second element of every tuple, which will match:
iter: A-, AR, M1 (cycle 1)
iter: A-, AR, M2 (cycle 2)
On stack I found this (Iterate over a string 2 (or n) characters at a time in Python).
Unfortunately, I couldn't get this to work in my example. Could someone give me a push in the right direction?