How to print the star in the space next to the pyramid

I have printed the inverted pyramid but i’m having difficulty in printing the stars part.

Hey @dishita_jain, it will need a little of mathematical understanding, try understanding it from this code. Use pen and paper, and u will be able to get it for sure.

Hope this resolved your doubt. :blush:

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.