Question: PYTHON HELP!!! In this code there are 3 numpy arrays. How do I write a loop in which at each iteration I have access to

PYTHON HELP!!!

PYTHON HELP!!! In this code there are 3 numpy arrays. How do

In this code there are 3 numpy arrays. How do I write a loop in which at each iteration I have access to the corresponding elements in each array?

i.e., values in each iteration:

Iteration (1) 1, 10, 100

Iteration (2). 2, 20, 200

Iteration (3). 3, 30, 300

and so on until the 12th iteration.. Thanks!!

import numpy as np arr = np.array([[[1, 2, 3], [4, 5, 6]], [[7, 8, 9], [10, 11, 12]]]) arr2 = np.array( [[[10, 20, 30], [40, 50, 60]], [[70, 80, 90], [100, 110, 120]]]) arr3 = np.array( [[[100, 200, 300], [400, 500, 600]], [[700, 800, 900], [1000, 1100, 1200]]])

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!