I require to create a list of numpy arrays with zeros to accomplish something as follows.
import numpy as np
a = np.zeros([10,1])
b = np.zeros([10,1])
c = np.zeros([10,1])
d = np.zeros([10,1])
e = np.zeros([10,1])
Therefore, I created a list of variable names and ran a for loop as follows
list = ['a', 'b' , 'c', 'd' , 'e']
for i in list:
i = np.zeros([10,1])
I know I am wrong or missing something while doing the above steps. Can someone tell me what's the mistake and a proper way to do it?