I have to 1d arrays
x = [1,2,3,4,5]
y = [5,6,7,8,9]
and a zero 2d array
2d_array=np.zeros((5, 5))
I have this equation : 50*x + 20*y
I want to make a loop to find all possible answers from x and y and store them in the 2d_array
[0,0,0,0,0
 0,0,0,0,0
 0,0,0,0,0
 0,0,0,0,0
 0,0,0,0,0]
so this should be
[50*x[0]+20*y[0],50*x[1]+20*y[0],50*x[2]+20*y[0],50*x[3]+20*y[0],50*x[4]+20*y[0]
 50*x[0]+20*y[1],50*x[1]+20*y[1]50*x[2]+20*y[1],50*x[3]+20*y[1],50*x[4]+20*y[1].......
And so on, I'm not sure if the explanation is clear, but if it is not tell me and I'll upload the actual file of the problem.
Thanks

