I need to make a new list that contains alternating elements from the two list from before. example: listA = "a","b","c" listB= "A","B","C" the output should be "a","A","b","B","c","C"
def one_each(lst1,lst2):
newList=[]
for i in range(len(lst2)):
newList.append(lst1[i])
newList.append(lst2[i])
return newList
it.chain.from_iterable(zip(a,b))