Respuesta :
Answer:
Below are the program in python language:
Explanation:
list1=[1,2,3]#first list which holds the numbers.
list2=[4,5,6]#second list which holds the numbers.
list3=[]#third list which is declared.
for (x,y) in zip(list1,list2):#for loop which tranverse the both list.
list3.append(x)#append the first list element.
list3.append(y)#append the second list element.
#end the body of the for loop.
Output:
- The above code assigns the value in the list3 variable in the scenario, on which the question demands.
Code Explantion:
- The above code is in python language, in which there are two lists in which value can be changed by the user.
- There is a for loop which scans both the list and appends both list items on the third list like one element from the first list and the other element from the second list.