I am wondering if I can iterate over a list of lists with another list in python:
let's say
lst_a = [x,y,z]
lst_b = [[a,b,c,d],[e,f,g,h],[i,j,k,l]]
where len(lst_a) = len(lst_b)
I am wondering how to get a new list like below:
lst_c = [[x/a, x/b, x/c, x/d],[y/e, y/f, y/g, y/h],[z/i, z/j, z/k, z/l]]
thanks a lot!
tim