+ 1
How can i make 2d arrays in Python?
Can i use lists to make 2d arrays in py..how?
1 Answer
+ 2
Yes, you can.
It works about the same as in other languages: You fill inner lists for the rows in an outer list.
Look for example here (line 8 to 11 (which is actually one line)):
https://code.sololearn.com/c30wK7XUZeo3/?ref=app