0
Can you help me explain this choice, how it's returning 6? It's one of the practice codes.
3 Answers
+ 2
m[1]
means the 2nd array as array starts from index 0 so 0 is the 1st array and 1 is the 2nd array
then
m[1][2]
is the 2nd array 3rd element 0,1,2 so 2 is third
thats y its returning 6
+ 1
Thank you so much guys Sharique Khan Jan Markus I'll try to ask less naive questions in the future but having a great community support helps a lot.
+ 1
https://www.sololearn.com/post/983706/?ref=app
Beginners can ask any questions here
Also, experts can add tips here for the beginners