I'm trying to count the number of rows and columns of a 2D array. The elements for the array are in a different text file and I have to import the file.
Above are the 2D array elements which are stored in numbers.txt file. Now know I know it's 7x6 array. I just want to find a way to measure that. This is what I did so far;