Section 1 basics pattern 3

sir i am not able to do this pattern using for loop
pls help me out.

@deepak-bhatt2000 buddy lemme send you code for reference, your task will be to dry run it using pen and paper so that you can learn more!

@deepak-bhatt2000 Here is the code for reference buddy!

My advice is using pen and paper and writing code on it then do machine coding.
Also do close this doubt by marking it resolved and rate full.
Happy coding!