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])

Are there any code examples left?
Create a Free Account
Unlock the power of data and AI by diving into Python, ChatGPT, SQL, Power BI, and beyond.
Sign up
Develop soft skills on BrainApps
Complete the IQ Test
Relative searches
python iterate 2 dimensional array numpy iterate over 2d array with one index numpy iterate over 2d array with onr index python iterate over 2d list python iterate over 2d array python iterate 2darray with index traverse through 2d array python iterate over a 2d array how to iterate through a two dimensional array python iterate over 2d array python python 2d array loop use a loop to iterate through a 2d array python python iterate two dimensional array iterate in a smart way on 2d array python numpy python iterate over 2d array transposed iterate through 2d numpy array python how to traverse a 2d array in python iterate thru 2d array python python loop over 2 dimensional array how to loop thru a 2 dimensional array in python python 2d array iterate iterating a 2d array in python how to loop through 2d array python python iterate through 2d array loop through two dimensional array python iterating over 2d array with single loop numpy iterate over 2d array iterate through 2d array python O(n) iterate through 2d array python traverse 2d array python python loop each element in 2d array how to iterate through a 2d row elements matrix in python iterate over 2d array using enumerate python numpy iterate through a 2d array python 2d array looping python 2d array iteration make iterator over 2d array python loop in 2d array python iterate 2d array how to iterate through 2d array python iterate row by row through a 2d array python looping through a 2d array python loop through 2d array python python traverse a 2d array iterate through a 2d array numpy iterate over 2d array rows with index numpy iterate over 2d array rows numpy iterate over 2d array with index iterate 2d array python how to iterate through numpy 2d array
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source