How can summarize the list

Viewed 25

Can you help me summarize the following code? I have 100 look_up_table which makes it difficult for me to write this code. I am looking for a way to make this code more concise without directly writing all 100 to loo_up_table

look_up_table_1 = np.zeros((environment_rows, 20))
look_up_table_2 = np.zeros((environment_rows, 20))
look_up_table_3 = np.zeros((environment_rows, 20))
look_up_table_4 = np.zeros((environment_rows, 20))
...
look_up_table_100
look_up_table_=[
    look_up_table_1,
    look_up_table_2,
    look_up_table_3,
    look_up_table_4,

... look_up_table_100 ]

0 Answers
Related