0

How to find the minimum element of each row and its index in matrix?

Matrix A=(n,n)

25th Sep 2020, 12:55 AM
PR PRGR
PR PRGR - avatar
4 Answers
+ 3
I would check out Numpy... 😉 https://code.sololearn.com/cJ7J2wdDzje2/?ref=app
25th Sep 2020, 1:37 AM
Steven M
Steven M - avatar
+ 1
For Loop through the matrix, that should produce every row, then check for minimum values. If you have some code share it, I think it will help
25th Sep 2020, 1:25 AM
Steven M
Steven M - avatar
+ 1
Steven M no I don't have and this is the problem that I don't know how to write it I am new to python..
25th Sep 2020, 1:35 AM
PR PRGR
PR PRGR - avatar
+ 1
Steven M thank you!😍 I'll try to understand
25th Sep 2020, 1:41 AM
PR PRGR
PR PRGR - avatar