S
S
samsungovetch2018-08-23 08:26:57
Python
samsungovetch, 2018-08-23 08:26:57

Python - How to get a square matrix of order n (of a certain kind)?

5b7e455a0b612532791594.png
The thing is, I don't understand what the picture should look like.
Given, say, 5 digits. - 1, 2,3,4,5. What should be the matrix? Too many passes. Explain, please

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Farwisdomer, 2018-08-23
@samsungovetch

nxn matrix. Values ​​are indicated on the diagonals, 0 elsewhere.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question