Python 2D arrays and lists

preview_player
Показать описание
How to use 2D Arrays and Lists. Python Programming Beginners series.

In this video:
- 2D Arrays
- 2D Lists

Tools:

#python2DArray #pythonlists #learningtoprogram #learntocode #programmingtutorials #pythonvariables #pythonloops
Рекомендации по теме
Комментарии
Автор

Be aware that initialization done at 7:30 is incorrect. If you were to set num[0][1] = 1, then all of the columns will get set to 1. Instead, use an iterator, num=[[0] * cols] for _ in range(rows)]

WillSmith-xhzo