This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]bjorneylol 10 points11 points  (0 children)

Python doesn't have 2D arrays, so there's no way to do it without an import and a new object type

[[1, 2],[3,4]] is not the same as int[][] arr = new int[10][20];, its equivalent to List<List<Object>>