+ 1

Hi ,what the meaning of this phrase?

Lists of lists are often used to represent 2D grids, as Python lacks the multidimensional arrays that would be used for this in other languages. in python.

3rd Jan 2020, 12:05 PM
Yusof
Yusof - avatar
2 ответов
+ 6
This is a list of lists: k = [[1,2], [3,4], [5,6]] #k[0][1] = 2 #k[2][0] = 5
3rd Jan 2020, 12:19 PM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
3rd Jan 2020, 12:20 PM
Yusof
Yusof - avatar