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

2d Arrays & Nested Loops

Lesson 24
Author : GOUP
Last Updated : September, 2020


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)