Hello, how can you derive or just find out the coordinate itself (not the value in a given coordinate) of the matrix element, in order to work directly with it (the coordinate of the element). for example, the coordinate m1 = [1,2] is worth 1, but we don’t actually know what coordinate it is in, I want to find out, show it on the screen.
rol = 5
col = 6
m1 = np.zeros (((rol, col))
m1 [1,2] = 1
printcoordinates” - for example, with theprintoperator. - aleksandr barakin