To print a mirror star pattern

this is my code please help me find the error why this code ain’t passing any test …and please make this code right i really don’t want any other code as i have done this by myself

any TA availaible here please help me out

for n=5 you have to print only 5 lines and n can be only odd
not 10 lines
image

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.

any TA if anyone can send me the code of this programm??? anyone

Reference Code

you have not give feedback
plz give it just by clicking above Link

can you please please provide and explain me the code with dry run… it is really confusing

plz post a new doubt for that
i have already closed this thread