0
Matrix of concentric rings in python
I have to make a program that reads an n which has to be even and between 2 and 100 The matrix has to be (n x n) For example n = 10 1111111111 1222222221 1233333321 1234444321 1234554321 1234554321 1234444321 1233333321 1222222221 1111111111 I have no idea
7 Answers
+ 3
see now...
i changed it
+ 2
heres it...
https://code.sololearn.com/cQK33OyT8VL0/?ref=app
+ 2
what i gave is kind of similar....please try to modify....
+ 1
for a in range(9,0,-1)
+ 1
It doesnât work
+ 1
No, the idea is to have the matrix just like I wrote in the example
0
But it shows the matrix starting from the maximun value how can I start from 1?