Multidimensional arrays | Sololearn: Learn to code for FREE!


Multidimensional arrays

I'm having trouble to do a subtraction between the arrays Bodega - minAmount I've trained a lot for this in python... and here I can't find a way... I've tried a lot but nothing seems to work, 🥲

7/14/2021 10:11:33 PM


4 Answers

New Answer


check this code: is this what you're trying to do?


I'm not sure what you're trying to do here, but for your inner loop condition, instead of using 'c < 4' try using the length of the inner array like bodega[r].length.


Yes, it is. 😌


Hi there