Write a function to merge two lists element wise


Topic: Write a function to merge two lists element wise

Solution

def merge_lists(l1:list, l2:list):
    return list(zip(l1,l2))



List all Python Programs