+ 1
My code doesn't work. I don't understand. Please help!
It must looks like that 123 4 5 https://code.sololearn.com/cDDr8Yj8YRRf/?ref=app
4 Réponses
+ 1
First clarify what you do want to do? If you just want to output to be :-
123
4
5
So here is the solution :-
https://code.sololearn.com/clLncEHgVfno/?ref=app
+ 1
I want to do square like that
123
894
765
I don't understand why second loop don't work. It just first part of programm and later I want add next part to go from down right to left. Sorry for my English 😔
+ 1
Are you trying to create spiral square(spiral matrix) ?
0
Yes