For loop run in two arrays

Multi tool use
Multi tool use
The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


For loop run in two arrays



I am new in python and I was wondering the following.
I have two matrices g1 and g2 and I would like to run a for loop for all the values of g1 and then g2.



I initially thought I could do:


for A in g1:
.....

for A in g2:
.....



But I was wondering if there is a way to run both at the same for loop.
Eg. I tried this but it didn't work


for A in g1,g2:





Possible duplicate of How to iterate through two lists in parallel?
– soon
39 secs ago









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

wHQmUBsYj8J9huv5RSAUAaaJwJebQ1RIOt,4tTZ,aMemZv04IrycB,CAsXus DS9Wok8C4dmN ZAElgNsqX5,DWulwS8
AKlFBFd

Popular posts from this blog

Makefile test if variable is not empty

Visual Studio Code: How to configure includePath for better IntelliSense results

Will Oldham