is it possible to for loop 2 lists with another size with the smallest one "relooping"?
example:
list = [1,2,3,4,5,6,7,8,10]
list2 = [a,b]
newlist = []
for number, letter in zip(list, list2):
newlist.append(item)
newlist.append(item2)
The loop stops at [1a, 2b] cause there are no more items in list2, is it possible for list2 to start over until list1 is empty? ie: newlist = [1a,2b,3a,4b,5a,6b] etc?
thkx!