0
How to access specific element from a 2d list without using numpy
Let's say x = [[1, 2, 3, 4], [5, 6, 7, 8]] #print(x[0[1]]) #print(x[0], 0) Anyways both of them gave error so is there any way to access integer 1 without using numpy?
2 Antworten
+ 1
You just confused your braces a lot...
print(arr[0][0]);
+ 1
Thanks a lot man