how do I multiply lists together in python using a function? This is what I have:
list = [1, 2, 3, 4] def list_multiplication(list, value):
zip() would do:
zip()
[a*b for a,b in zip(lista,listb)]