For loop example given by you in for loop le ture

Didn’t understand the increase and decrease concept in this program rows and spaces I have created. How we have to increase and decrease should is done

as you can see
each line start with i
and increase i times means i nos in increasing order and i-1 numbers in decreasing order
1 starts with i=1 , 1 nos in increasing order and 0 numbers in decreasing order
2 3 2 starts with i=2, 2 nos in increasing order and 1 numbers in decreasing order
3 4 5 4 3 starts with i=3, 3 nos in increasing order and 2 numbers in decreasing order

in this way nos increase and decrease
i hope you understand

if your doubt is resolved
Please mark it as resolved

if you have any doubt regarding this feel free to ask

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.