In Python you would do it exactly the same as in Java: array[i]
.
BTW, Your get(i)
is for ArrayList
not for array in java.
solved What is the equivalent of Java .get in python
In Python you would do it exactly the same as in Java: array[i]
.
BTW, Your get(i)
is for ArrayList
not for array in java.
solved What is the equivalent of Java .get in python