+ 1
numpy or not
This problem can be solved using numpy? https://code.sololearn.com/cp3nFYro1D37/?ref=app
3 odpowiedzi
+ 2
You can start learning about numpy on SoloLearn too
https://www.sololearn.com/learn/6671/?ref=app
And I found this awesome summary, particularly you have to look at slicing of multidimensional arrays
https://code.sololearn.com/WJFw0c1vC7nR/?ref=app
+ 2
Yes, you can solve it also with numpy and also without it. A list of lists works OK in Python to represent a 2-dimensional matrix.
0
fine. it remains to figure out how to use numpy to solve this problem🤕🐸