lista = []
def zwroc(a_list, b_list):
    for i in range(len(a_list)):
        if i % 2 == 0 :
            lista.append(a_list[i])
    for i in range(len(b_list)):
        if i % 2 == 1:
            lista.append(b_list[i])

zwroc([2,3,4,6],[7,8,9,10])
print(lista)
lista = []
def zwroc(a_list, b_list):
    for i in range(len(a_list)):
        if i % 2 == 0 :
            lista.append(a_list[i])
    for i in range(len(b_list)):
        if i % 2 == 1:
            lista.append(b_list[i])

zwroc([2,3,4,6],[7,8,9,10])
print(lista)