Write a function to adds two lists element wise


Topic: Write a function to adds two lists element wise

Solution

def adds_listelements(l1:list, l2:list):
    return [i+j for i, j in zip(l1,l2)]



List all Python Programs