I’m not getting exact patten, I got 9 rows but not get 9 column ,where is fault in my code?
I got 10 column how to make it 9
your output is

9 lines which is correct
No error
rows are 9 but column is 10 it should be 9 how to approach to that?
yes i got your point
i have tried but it is very difficult to make changes in your code
now i am sharing my code to you
check this code it is easier to understand and correct
if you have any doubt in this feel free to ask
Thanks, I understand this but your approach is different (better) than what I do, Can you please tell me how to approach to this type pattern problem like suggest some video. I never Did programming before so I am lacking in Pattern problem even after watching Video (from YouTube and Launchpad)
join this
Modified Code
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.