I need a formula to iterate through list A and extract certain items and put into list B. I need to skip two items, extract the next three, skip two items, extract the next three, etc:
A = (34, 35, 40, 41, 42, 22, 34, 43, 44, 45, 65, 78, 46, 47, 48)
A = (34, 35, 40, 41, 42, 22, 34, 43, 44, 45, 65, 78, 46, 47, 48)
To copy to clipboard, switch view to plain text mode
I want:
B = (40, 41, 42, 43, 44, 45, 46, 47, 48)
B = (40, 41, 42, 43, 44, 45, 46, 47, 48)
To copy to clipboard, switch view to plain text mode
this is all I could get:
for i, val in enumerate(A):
B = (
for i, val in enumerate(A):
B = (
To copy to clipboard, switch view to plain text mode
thanks
Bookmarks