iterating over 2d array python

Do you want to know the details about “iterating over 2d array python”. If yes, you’re in the correct article.

iterating over 2d array python

x = [ ['0,0', '0,1'], ['1,0', '1,1'], ['2,0', '2,1'] ]
for i in range(len(x)):
  for j in range(len(x[i])):
    print(x[i][j])

Final Thoughts

I hope this article helps you to know about “iterating over 2d array python”. If you have any queries regarding this tutorial please let us know via the comment section. Share this article with your friends and family via social networks.

Hi, I'm Ranjith a full-time Blogger, YouTuber, Affiliate Marketer, & founder of Coder Diksha. Here, I post about programming to help developers.

Share on:

Leave a Comment