Multidimensional arrays | Sololearn: Learn to code for FREE!

+1

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, 🥲 https://code.sololearn.com/ca147A19A10A/?ref=app

7/14/2021 10:11:33 PM

Jace🎭

4 Answers

New Answer

+2

check this code: https://code.sololearn.com/cBMaSu9T1Ayu/?ref=app is this what you're trying to do?

+2

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.

0

Yes, it is. 😌

0

Hi there