How can I print elements of an array without the double brackets [[]] ?
Let's say I have an array:
A = [[1]
[2]
[3]
[4]]
and I want to print the elements separately like this:
Output:
1
2
3
4
Here's my attempt:
for i in range(4):
print(A[i])
Output:
[[1]]
[[2]]
[[3]]
[[4]]