Python - Programming Language
This course covers the basics of programming in Python. Work your way through the videos and we'll teach you everything you need to know to start your programming journey!

2d Arrays & Nested Loops

Lesson 24
Author : Mike Dane
Last Updated : October, 2017


Code

Copynumber_grid = [ [1, 2], [3, 4] ]

number_grid[0][1] = 99
print(number_grid[0][0])
print(number_grid[0][1])

for row in number_grid:
     for row in col:
          print(col)